Skip to content

Let FMPy record the variables of the reference - #399

Merged
sjoelund merged 2 commits into
masterfrom
fmpy-record-reference-variables
Nov 6, 2026
Merged

sjoelund merged 2 commits into
masterfrom
fmpy-record-reference-variables

Conversation

@sjoelund

@sjoelund sjoelund commented Nov 6, 2026

Copy link
Copy Markdown
Member

Without --output-variables, FMPy writes only the outputs of the model. diffSimulationResults gives success when a variable of the reference is not in the result, so master-fmi-fmpy compared only some variables, or none. In a sample of 800 verified rows of the 2026-11-06 run, 665 had variables that were not compared.

Give FMPy the variables of the reference. FMPy ignores names that are not in the FMU. sh -c takes a command of at most 128 KiB, and some references have more names than that, so a longer list is left out.

Assisted-by: Claude Opus 5.5

Without --output-variables, FMPy writes only the outputs of the model.
diffSimulationResults gives success when a variable of the reference is
not in the result, so master-fmi-fmpy compared only some variables, or
none. In a sample of 800 verified rows of the 2026-11-06 run, 665 had
variables that were not compared.

Give FMPy the variables of the reference. FMPy ignores names that are
not in the FMU. sh -c takes a command of at most 128 KiB, and some
references have more names than that, so a longer list is left out.

Assisted-by: Claude Opus 5.5
@sjoelund
sjoelund enabled auto-merge (squash) November 6, 2026 18:32
@sjoelund
sjoelund merged commit fd1c854 into master Nov 6, 2026
7 checks passed
@sjoelund
sjoelund deleted the fmpy-record-reference-variables branch November 6, 2026 20:32
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