Summary2026 class
Requirements.UsersGuide.ReleaseNotes.Summary2026
ยท source
Summary of changes and additions in 2026
Extends Modelica.Icons.ReleaseNotes
In 2026 the library went from version 0.7.0 (Feb. 2025) to 0.23.0 (2026-12-04) in twenty-six
releases. This page summarizes them; the release note of each version has the details.
The same summary is kept as Markdown in
CHANGES_2026.md
at the top level of the library's repository (beside the Requirements package folder).
The regression baselines and the tool-by-tool measurements are kept beside the library (see the
User's Guide).
| Version | Date | Theme |
|---|---|---|
| 0.7.1 | 2026-09-14 | Rename, MSL 4.1.0, runs in Modelon Impact, three-tool comparison, MA-HS-CSV reader |
| 0.8.0 | 2026-09-15 | Four-valued logic (Undefined added to Property) |
| 0.9.0 | 2026-09-15 | margin output on every check block |
| 0.9.1 | 2026-09-15 | Bug fix: CSV reader derivative at the file's last row |
| 0.10.0 | 2026-09-16 | Step-response metrics (overshoot, rise time, settling time, ...) |
| 0.11.0 | 2026-09-16 | Eigenvalue checks over a linearization (LinearAnalysis) |
| 0.11.1 | 2026-10-16 | Steady-state check example; the verdict printed once in every tool; self-contained documentation |
| 0.12.0 | 2026-10-19 | Violation statistics: how often, how long and how badly a requirement was violated |
| 0.12.1 | 2026-10-19 | Bug fix: DelayedRising stayed true after its input fell, when the fall coincided with the end of the duration |
| 0.13.0 | 2026-10-20 | Three check blocks ported from the Modelica Buildings_Requirements library: WithinBand, GreaterEqual, StableSignal |
| 0.13.1 | 2026-10-21 | Bug fix: the CSV reader stopped (every Boolean and Integer column held) at an event due a few ulps after another |
| 0.13.2 | 2026-10-24 | OpenModelica builds and simulates every example; no block computes anything different |
| 0.14.0 | 2026-10-26 | A file chosen at run time: the CSV reader in an exported FMU |
| 0.15.0 | 2026-11-09 | Display units for the quantities of the MSL's connectors: deg/s, l/min, kJ/kg, g/kg, mH, mWb, ... |
| 0.16.0 | 2026-11-09 | Display units for the quantities of the MSL's components: kOhm, uF, kV.A, kJ/(kg.K), g/cm3, mPa.s, mT, bar/s, ... |
| 0.17.0 | 2026-11-09 | Phasors: transformations between the polar and the rectangular form, and the wrapped phase difference |
| 0.18.0 | 2026-11-19 | StableSignal: the derivative filter's default Td 0.1 s (was 1 s), and how to choose it |
| 0.18.1 | 2026-11-19 | Bug fix: StableSignal's moving average wrong in Dymola (a delay() in conditional code); every example runs in Dymola 2027x |
| 0.19.0 | 2026-11-30 | The uncertainty band: During and the When checks report whether a verdict could flip inside the checked value's uncertainty interval (useUncertainty, rhoLow, rhoHigh, inBand; bandAnd, bandOr) |
| 0.20.0 | 2026-11-30 | Eigenvalue checks over a mode table (ModeTableCheck, ModesWithinRegion, readModeColumn): a modal run's frequencies and damping checked with no state matrix, and an effective-mass filter |
| 0.20.1 | 2026-12-02 | The CSV reader's rowEvents: the solver stops at every row, so a check cannot step over a short excursion in a file |
| 0.20.2 | 2026-12-02 | The mode-table example runs in Modelon Impact, and is a regression case in Dymola, OpenModelica and Impact |
| 0.21.0 | 2026-12-03 | Ratios in percent: Units.NonSI.Percent, Units.Conversions.to_percent and from_percent |
| 0.21.1 | 2026-12-03 | Documentation and coding practice: a description string on every class and component, documentation for every class |
| 0.22.0 | 2026-12-04 | Bug fixes from the 0.21.1 review (FFT checks, sliding window, polygon boundary, OpenModelica); two examples renamed, unused classes removed |
| 0.23.0 | 2026-12-04 | A fraction of a region: ChecksInFixedWindow.RegionFraction |
Up to 0.21.1 no release needs a model conversion: each one declares conversion(noneFromVersion=...)
for the version before it. One exception: from 0.8.0 on, code that reads a stored Property result
has to accept the value 4. 0.22.0 renames two examples and removes unused classes: models of every earlier
release are converted by Resources/Scripts/Conversion/ConvertFromRequirements_0.21.1.mos.
0.23.0 only adds a block: conversion(noneFromVersion="0.22.0").
Origin and rename (2026-09-14)
- The library was renamed from
Modelica_Requirementsto Requirements. It is Model Based Innovation LLC's derivative of upstream Modelica_Requirements 0.7.1 (BSD 3-Clause) and now lives in the public repository MBILLC/Requirements. - The license and the original authors' copyright notices are unchanged.
- The additions serve a two-run verification workflow. First the plant is simulated on its own and its signals are stored in an MA-HS-CSV file. Then the requirement checks run on the stored signals in a second run.
0.7.1 — Maintenance and multi-tool support
The release made the library run in Modelon Impact. None of its changes alter requirement semantics.
uses(Modelica(version="4.1.0")). The library needed no change for MSL 4.1.0.- PrintViolations has two new Advanced
parameters,
useEvaluationTimeandevaluationTime. Impact evaluatesterminal()tofalse, so it never printed the verdict. Every example now setsevaluationTime = StopTime. - FallingEdgeTerminate has a new
delayparameter (default 0). At aterminate()instant Impact stores only the pre-event state, so without a delay the final verdict was missing from the result. - ChecksInFixedWindow_withFFT now runs
in Impact. Four separate fixes were needed:
- The local arrays in
Internal.checkDomainnow have explicit sizes. - The FFT sampling start is now explicit:
(condition and not pre(condition)) or (initial() and condition). - The FFT examples use the new terminate delay.
- The when-clause chains of
WithinRelativeDomainandMaxTotalHarmonicDistortionwere replaced by single function calls,Internal.checkRelativeDomainandInternal.checkTHD.
- The local arrays in
- The
LogicalFunctions.card*reductions are now written over indices, because Impact failed to scalarize the element form. - No more model instances passed to functions.
Examples.MotorsWithLossesandSimplePumpingSystem.CheckPumpingSystemnow build their observation records with explicit record constructors.- The reason: the record cast
R(m)allowed by MLS 3.6 §12.6.1 is implemented only by Dymola. MotorDataandInertiaDatawere made public.SourceObservation_from_PartialSourceandRecords.PartialSourcewere removed.
- The reason: the record cast
- New: Sources.PartialSignalsFromFile
reads MA-HS-CSV files: Real, Boolean and Integer columns by name, with a time event at every change of
a discrete column.
- It is built on Internal.CSV and a header-only
C89 reader,
Resources/Include/RequirementsCsv.h. - The reader is tested against a Python reader in
Resources/C-Sources/test/. - Example: Examples.Elementary.Sources.SignalsFromFile.
- It is built on Internal.CSV and a header-only
C89 reader,
- Three tools compared (68 examples, every
*.youtput):Tool Simulated Not simulated Dymola 2026x 60 8 refused by the license OpenModelica 1.27.1 48 20 don't build (14 sliding-window, 6 FFT); all build since October 2026 Modelon Impact (Sept. 2026) 68 — - Impact vs. Dymola/OpenModelica: all 296 signal checks pass.
- OpenModelica vs. Dymola: continuous signals agree to better than 1e-4 of their range, and discrete signals switch at identical instants.
0.8.0 — Four-valued logic
This release changes requirement semantics.
- Types.Property =
enumeration(Violated, Undecided, Satisfied, Undefined).Undefined(value 4) means not applicable.Undecidednow means applicable but not yet decided.- The new value is appended at the end, so the stored values 1–3 stay valid.
Types.Boolean4is an alias, using CRML's name.
- LogicalFunctions: new
and4,or4,not4(truth tables taken from CRML/ETL),and4All,or4AllandcardUndefined.Undefinedis the neutral element of and and or.forall3delegates toand4All.duringandduring3returnUndefinedwhile their condition is false.
- LogicalBlocks:
PropertyAnd,PropertyOrandPropertyNotdelegate to the new functions.- An unconnected
PropertyAnd/PropertyOrnow givesUndefined. PropertyToBooleanhas a newundefinedparameter.PropertyConstantandPropertyTableaccept the fourth value.
- An unconnected
- Every ChecksInFixedWindow block outputs
Undefinedwhile its condition is false. The FFT checks outputUndefinedbefore their first rising edge andUndecideduntil the first FFT is computed. - Verify.Requirement and
PrintViolations still reduce everything to
three verdicts.
- They report the new count attempts: the number of phases in which the property was applicable.
- The log file and the HTML report gain an attempts column.
- New example Examples.Elementary.LogicalBlocks.PropertyTable4
tests all 16 pairs of each truth table, plus the laws that hold and the laws that fail.
- Absorption and distributivity fail wherever
Undefinedis involved. - Never simplify
Propertyexpressions with Boolean rewriting.
- Absorption and distributivity fail wherever
- The regression baselines were re-stored on OpenModelica, Dymola and Impact. The only differences were Undecided → Undefined.
0.9.0 — Margins
- Every check block has a new output margin = robustness /
scale.- Robustness is the signed distance to the limit; it is ≥ 0 exactly when the check holds.
scaleis the requirement's tolerance (default 1).- The connector type is the new Interfaces.MarginOutput
(
unit="1").
- PartialCheck and the sliding-window partials
have two new parameters,
scaleandcomputeMargin. - How each block family gets its robustness:
DuringandWhen*: from a new inputrho.- Duration blocks: from the new output
duration. - Count blocks: from the count difference.
countRisingis now an output. MaxRisingFrequency,WithinDomain, sliding-window and FFT blocks: from the quantity each block already computes.
- LogicalFunctions.marginAnd and
marginOr give the minimum and maximum
margin over the elements that are not
Undefined. - The blocks have no accumulators. The worst margin over a run is taken from the stored trajectory (or, since 0.12.0, computed during the run by the separate, opt-in Verify.ViolationStatistics).
- New examples Examples.Elementary.Margin: eight of them, one per block family. Each checks the margins against closed-form values and checks the sign invariant.
- No existing output changed. Regression results: OpenModelica 316/316, Dymola 336/336, Impact 371/371.
0.9.1 — CSV reader fix
- Internal.CSV.getRealDer returned 0 at the file's last row. Derived signals therefore dropped to 0 at the final stored row, which produced a spurious edge.
- At the last row it now returns the slope of the final segment. Beyond the end of the file it still returns 0.
- No stored reference changed.
0.10.0 — Step-response metrics
- New block SignalAnalysis.StepResponse
computes the running step-response metrics: overshoot, undershoot, rise time, delay time, settling
time, steady-state error, damping ratio and decay ratio.
- It detects steps, windows them, and interpolates level crossings between samples.
- It samples at half-periods. When the sample period equals the result grid, OpenModelica's CVODE stalls.
- New block ChecksInFixedWindow.StepResponseCheck
bounds one metric and outputs
Propertyandmargin. - New enumerations
Types.StepTargetandTypes.StepMetric. - New examples Examples.Elementary.StepResponse
(
SecondOrder,Disturbance), checked against closed forms. - The blocks decide a step-response requirement in the simulation itself. Where the same metrics are also evaluated on the stored trajectory after the run, the blocks agree with that evaluation to one sampling period.
- Solver choice: the millisecond sample events make CVode read the peak about 0.2–0.3 % low. The regression lists therefore use dassl on OpenModelica and Radau5ODE on Impact.
0.11.0 — Eigenvalue checks over a linearization
- New package LinearAnalysis:
readStateMatrixreads the A matrix of a linearization from a MATLAB v4 file. The linearization itself is done in whatever tool the user has; the package documentation describes the routes.modesgroups the eigenvalues into modes (conjugate pairs folded, an integrator rule, a parasitic cut).- EigenvalueCheck bounds real part, damping, frequency or time constant over every mode, with an optional frequency band.
- EigenvaluesWithinRegion checks that every eigenvalue lies inside a polygon in the (Re, Im) plane.
- Both blocks output
Propertyandmargin.
- New enumeration
Types.EigenMetric. - New example Examples.Elementary.LinearAnalysis
(
SecondOrder), with the data fileResources/Data/SecondOrderLinearization.mat. - The verdict is printed by
PrintViolationslike that of any other requirement. - By decision, the frequency-response requirements have no Modelica side.
0.11.1 — Steady-state check example, printing fix, documentation
- New example Examples.SteadyState.CheckHeatExchanger:
steady-state requirements of the MSL heat exchanger, checked and printed in a plain simulation.
- Each requirement is written as
during(steady, check), so the transient does not count. - A separate requirement checks that the run has settled.
- Each requirement is written as
- Bug fix:
PrintViolationsprinted every verdict twice in a tool that evaluates the verdict's when-equations twice at the same event (Modelon Impact withuseEvaluationTime). The log file and the summary are now written once. The full Impact regression suite passed 488/488 checks afterwards. - The documentation no longer depends on any external tooling or on one Modelica tool.
- The relation to the verification framework the library is used in is explained once, in the User's Guide.
- LinearAnalysis describes how to linearize and export the state matrix in different tools.
0.14.0 — A file chosen at run time: the CSV reader in an exported FMU
- Sources.PartialSignalsFromFile has a new
parameter
runTimeFileName: an absolute path, not evaluated, that replacesfileNamewhen it is not empty. A translated model or an exported FMU reads other data without being translated again. - The documentation describes the second way: replacing the copy of
fileNamethat a tool packages in an FMU'sresourcesdirectory. - Nothing changes for a model that does not set the new parameter.
- Bug fix in the example Examples.Elementary.Sources.SignalsFromFile:
its reader read the Boolean and Integer columns in
when {time >= pre(nextTimeEvent), initial()}, the time event that 0.13.1 replaced in the reader with the state eventfileEvent. It now usesfileEvent, so a model copied from the example cannot freeze its discrete columns.
0.13.2 — OpenModelica builds and simulates every example
- The 21 examples OpenModelica 1.27.1 could not build (the 14 that use a sliding-window block, the 7 that use an FFT
check) build and simulate in it, with the new and the old frontend. Two code-generation limits of omc are worked
around in ChecksInSlidingWindow and
ChecksInFixedWindow_withFFT.Internal.FFT. - No block computes anything different: the stored references of all three tools stand. Every example now runs in Dymola (within its license), OpenModelica and Modelon Impact.
0.13.1 — CSV reader: event rows a few ulps apart
- The MA-HS-CSV reader behind Sources.PartialSignalsFromFile
wakes on a state event (
fileEvent) instead of a time event, and treats times within a relative 1e-10 as one instant. A time event of the reader due a few ulps after another event of the model was dropped by OCT as already past, and every Boolean and Integer column held its value for the rest of the run.
0.13.0 — Check blocks from Buildings_Requirements
- Three blocks of LBNL's Buildings_Requirements
library are ported into
ChecksInFixedWindowas check blocks withPropertyandmargin:WithinBand(a signal within constant limits),GreaterEqual(one signal at least another) andStableSignal(the moving average of |du/dt| at most a limit), each with an activation delay. - An inactive check is Undefined, where the originals reported Undecided. The ported validation models give the originals' verdicts otherwise, at every instant compared.
- The fourth block,
MinimumDuration, is not ported: it isMinDuration(condition = u, check = true).
0.12.1 — DelayedRising at coincident events
- LogicalBlocks.DelayedRising is now
y = u and time >= startTime + duration. Before, when the input fell at the instant the duration ran out, the result depended on the tool's order of the two events, and in Modelon Impact the output stayed true until the next rising edge. One stored reference moved, to the behaviour the example documents.
0.12.0 — Violation statistics
- New block Verify.ViolationStatistics. From a
check's
propertyandmarginit gives how often the requirement was violated, for how long in total, the longest violation, and the worst violation and when. Meant for long runs such as annual building simulations, where a verdict alone does not say enough. - The worst margin is found with Modelica.Blocks.Math.ContinuousSignalExtrema, which the block extends, or with a cheaper ratchet for a margin that oscillates.
Verify.RequirementandBooleanRequirementcompute the same statistics whencomputeStatisticsis set. They are written to the log file and printed in the summary.- The check blocks still have no accumulators, and every existing output and log line is unchanged.
Regression baselines
- Case lists generated from the examples'
experiment()annotations:- Dymola 2026x:
regression_cases_requirements.yaml - OpenModelica 1.27.1:
regression_cases_requirements_openmodelica.yaml - Modelon Impact:
Impact/regression_cases_requirements_impact.yaml
- Dymola 2026x:
- The Impact list compares against a composite reference: Dymola's results, with OpenModelica's filling the gaps. Since 2026-09-15, the 5 cases that neither of those tools can run use Impact's own results as reference. The full Impact suite then passed 434/434 with nothing skipped.
- Every new example from 0.8.0–0.11.1 was added as a case. The margin and step-metric outputs are stored as references.