Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "OMLibraryTesting"
uuid = "4866894a-ca78-4bef-9a5c-0d35f2f81ce1"
version = "0.4.4"
version = "0.5.0"
authors = ["John Tinnerholm <john.tinnerholm@liu.se>"]

[deps]
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ OMLibraryTesting.jl/
├── models/
│ ├── models.toml # Per-model overrides (atol, reltol, expected phase, signal mapping), MSL 3.2.3
│ ├── models_4.1.0.toml # The same for MSL 4.1.0
│ └── experiments_Modelica_<version>.txt # The experiment models omc lists (record_experiments)
│ └── experiments_<library>_<version>.txt # The experiment models omc lists (record_experiments): Modelica, Buildings
├── reference/
│ ├── csv/ # Dymola reference CSVs (MAP-LIB, MSL 3.2.3)
│ ├── signals/ # Per-model comparisonSignals.txt files
Expand Down Expand Up @@ -92,6 +92,14 @@ results = OMLibraryTesting.run_coverage(model = "Modelica.Thermal.HeatTransfer.E
# reads come from the installed library: ~/.openmodelica/libraries, Modelica 4.1.0)
results = OMLibraryTesting.run_coverage(msl_version = "MSL:4.1.0")

# Another library's experiment models (models/experiments_Buildings_13.0.0.txt, 1805 models): `library`
# and `version` select the experiment list, "LIB:Name@version,..." the installed libraries
# (~/.openmodelica/libraries) every model is flattened with. No registry or reference data: through
# simulate.
results = 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)

# Generate an HTML report
OMLibraryTesting.generate_report(results)

Expand Down
Loading
Loading