Skip to content

Update test cases to Modelica 4.0 and compilation toolchain#799

Open
EttoreZ wants to merge 179 commits into
masterfrom
issue422_om_msl4
Open

Update test cases to Modelica 4.0 and compilation toolchain#799
EttoreZ wants to merge 179 commits into
masterfrom
issue422_om_msl4

Conversation

@EttoreZ

@EttoreZ EttoreZ commented Oct 9, 2025

Copy link
Copy Markdown
Contributor

This PR closes multiple issues: #422 (primary), #539, #612, #775, #791, #800, #802, #806, #834, #842, #847, #849, and #855. It is meant to address the following, where other updates were necessary or other issues addressed as a result of:

  1. Update test case Modelica models to Modelica 4.0 and newer version of dependent libraries (all except multizone_office_complex_air and multizone_office_simple_hydronic since they already are).
  2. Add the possibility to compile test cases with OpenModelica using parser and remove support for JModelica, and related processes in testing dockerfile and testing makefile.
  3. Update test case FMUs to Dymola FMUs with binary model export for latest models.
  4. Refer to proposed releasenotes for detailed changes.

Below is reported a primary to do list to finalize this PR:

Test cases update

Compilation toolchain

  • Remove JModelica from compilation options (parser, testing dockerfile, testing makefile).
  • Add OpenModelica to compilation options (parser, testing dockerfile, testing makefile).
  • Test compilation functionality with all test cases with Dymola.
  • Test compilation functionality with all test cases with OpenModelica.
  • compile_fmu.py tool argument in parser.export_fmu() should be made into CLI argument to allow flexibility in command line usage. Furthermore, arguments solver and tolerance should be properly handled by the parser depending on the tool with warnings and errors, and added to compile_fmu.py CLI arguments.

Unit test update

  • Store only 500 points for result trajectories to limit repo size and size of git history.
  • Update .travis.yml to remove compilation for most test cases, only keep testcase1 with OpenModelica.
  • Revise makefile for Ubuntu 24 (resolve activating virtual environment in makefile)

Misc/Typical

  • Finalize update to all READMEs
  • Finalize update to all releasenotes
  • Update unit test reference results
  • Update unit test reference results for bestest_hydronic_heat_pump
  • Commit test case FMUs to Dymola compilation, except testcase1 to be OpenModelica
  • Make sure all bacnet.ttl files up to date
  • Pass unit tests

Jaap-Neven and others added 30 commits July 2, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants