Skip to content

OMLibraryTesting 0.5.0: experiment models of other installed libraries (Buildings) - #23

Merged
JKRT merged 1 commit into
OpenModelica:masterfrom
JKRT:dev/installed-libraries
Nov 24, 2026
Merged

JKRT merged 1 commit into
OpenModelica:masterfrom
JKRT:dev/installed-libraries

Conversation

@JKRT

@JKRT JKRT commented Nov 24, 2026

Copy link
Copy Markdown
Member

OMLibraryTesting 0.5.0: run_coverage runs the experiment models of another installed library, such as Buildings.

  • msl_version = "LIB:Name@version,..." loads the installed libraries it names, each with OM.loadInstalledLibrary, and flattens every model with them (installed_library_list, _msl_kwargs). library and version select the experiment list. A missing registry or reference directory was already allowed, so such a run goes through simulate.
  • models/experiments_Buildings_13.0.0.txt: the 1805 experiment models omc 1.27.1 lists for Buildings 13.0.0, so a run needs no omc.
  • README: an example. Test: installed_library_list, 7 tests.
OMLibraryTesting.run_coverage(library = "Buildings", version = "13.0.0",
    msl_version = "LIB:Buildings@13.0.0,Modelica@4.1.0,ModelicaServices@4.1.0,Complex@4.1.0",
    to_phase = OMLibraryTesting.SIMULATE, timeout = 300.0, n_workers = 2)

The Buildings sweeps of October used an uncommitted patch of the runner for this.

Local, Julia 1.13: the package tests pass, 163/163 in 49 s. Two Buildings models (CDL Reals Abs, Add) pass frontend, backend and simulate with OMBackend 1.2.1 (OpenModelica/OMBackend.jl#117). A full Buildings 13.0.0 sweep with an earlier form of the same loading is running (1805 models, 2 workers, 300 s).

Assisted-by: Claude Opus 5.5

msl_version = "LIB:Name@version,..." loads the installed libraries it
names (installed_library_list); library and version select the
experiment list. Buildings 13.0.0's list (1805 models, omc 1.27.1)
recorded. Test: installed_library_list.

Assisted-by: Claude Opus 5.5
@JKRT
JKRT merged commit 6fd2842 into OpenModelica:master Nov 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant