Summary2026 class

Requirements.UsersGuide.ReleaseNotes.Summary2026  ยท source

Icon of Summary2026

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).

VersionDateTheme
0.7.12026-09-14Rename, MSL 4.1.0, runs in Modelon Impact, three-tool comparison, MA-HS-CSV reader
0.8.02026-09-15Four-valued logic (Undefined added to Property)
0.9.02026-09-15margin output on every check block
0.9.12026-09-15Bug fix: CSV reader derivative at the file's last row
0.10.02026-09-16Step-response metrics (overshoot, rise time, settling time, ...)
0.11.02026-09-16Eigenvalue checks over a linearization (LinearAnalysis)
0.11.12026-10-16Steady-state check example; the verdict printed once in every tool; self-contained documentation
0.12.02026-10-19Violation statistics: how often, how long and how badly a requirement was violated
0.12.12026-10-19Bug fix: DelayedRising stayed true after its input fell, when the fall coincided with the end of the duration
0.13.02026-10-20Three check blocks ported from the Modelica Buildings_Requirements library: WithinBand, GreaterEqual, StableSignal
0.13.12026-10-21Bug fix: the CSV reader stopped (every Boolean and Integer column held) at an event due a few ulps after another
0.13.22026-10-24OpenModelica builds and simulates every example; no block computes anything different
0.14.02026-10-26A file chosen at run time: the CSV reader in an exported FMU
0.15.02026-11-09Display units for the quantities of the MSL's connectors: deg/s, l/min, kJ/kg, g/kg, mH, mWb, ...
0.16.02026-11-09Display 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.02026-11-09Phasors: transformations between the polar and the rectangular form, and the wrapped phase difference
0.18.02026-11-19StableSignal: the derivative filter's default Td 0.1 s (was 1 s), and how to choose it
0.18.12026-11-19Bug fix: StableSignal's moving average wrong in Dymola (a delay() in conditional code); every example runs in Dymola 2027x
0.19.02026-11-30The 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.02026-11-30Eigenvalue 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.12026-12-02The CSV reader's rowEvents: the solver stops at every row, so a check cannot step over a short excursion in a file
0.20.22026-12-02The mode-table example runs in Modelon Impact, and is a regression case in Dymola, OpenModelica and Impact
0.21.02026-12-03Ratios in percent: Units.NonSI.Percent, Units.Conversions.to_percent and from_percent
0.21.12026-12-03Documentation and coding practice: a description string on every class and component, documentation for every class
0.22.02026-12-04Bug fixes from the 0.21.1 review (FFT checks, sliding window, polygon boundary, OpenModelica); two examples renamed, unused classes removed
0.23.02026-12-04A 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_Requirements to 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, useEvaluationTime and evaluationTime. Impact evaluates terminal() to false, so it never printed the verdict. Every example now sets evaluationTime = StopTime.
  • FallingEdgeTerminate has a new delay parameter (default 0). At a terminate() 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.checkDomain now 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 WithinRelativeDomain and MaxTotalHarmonicDistortion were replaced by single function calls, Internal.checkRelativeDomain and Internal.checkTHD.
  • 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.MotorsWithLosses and SimplePumpingSystem.CheckPumpingSystem now 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.
    • MotorData and InertiaData were made public.
    • SourceObservation_from_PartialSource and Records.PartialSource were removed.
  • 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.
  • Three tools compared (68 examples, every *.y output):
    ToolSimulatedNot simulated
    Dymola 2026x608 refused by the license
    OpenModelica 1.27.14820 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. Undecided now means applicable but not yet decided.
    • The new value is appended at the end, so the stored values 1–3 stay valid.
    • Types.Boolean4 is an alias, using CRML's name.
  • LogicalFunctions: new and4, or4, not4 (truth tables taken from CRML/ETL), and4All, or4All and cardUndefined.
    • Undefined is the neutral element of and and or.
    • forall3 delegates to and4All.
    • during and during3 return Undefined while their condition is false.
  • LogicalBlocks: PropertyAnd, PropertyOr and PropertyNot delegate to the new functions.
    • An unconnected PropertyAnd/PropertyOr now gives Undefined.
    • PropertyToBoolean has a new undefined parameter.
    • PropertyConstant and PropertyTable accept the fourth value.
  • Every ChecksInFixedWindow block outputs Undefined while its condition is false. The FFT checks output Undefined before their first rising edge and Undecided until 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 Undefined is involved.
    • Never simplify Property expressions with Boolean rewriting.
  • 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.
    • scale is 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, scale and computeMargin.
  • How each block family gets its robustness:
    • During and When*: from a new input rho.
    • Duration blocks: from the new output duration.
    • Count blocks: from the count difference. countRising is 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 Property and margin.
  • New enumerations Types.StepTarget and Types.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:
    • readStateMatrix reads 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.
    • modes groups 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 Property and margin.
  • New enumeration Types.EigenMetric.
  • New example Examples.Elementary.LinearAnalysis (SecondOrder), with the data file Resources/Data/SecondOrderLinearization.mat.
  • The verdict is printed by PrintViolations like 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.
  • Bug fix: PrintViolations printed every verdict twice in a tool that evaluates the verdict's when-equations twice at the same event (Modelon Impact with useEvaluationTime). 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 replaces fileName when 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 fileName that a tool packages in an FMU's resources directory.
  • 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 event fileEvent. It now uses fileEvent, 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 ChecksInFixedWindow as check blocks with Property and margin: WithinBand (a signal within constant limits), GreaterEqual (one signal at least another) and StableSignal (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 is MinDuration(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 property and margin it 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.Requirement and BooleanRequirement compute the same statistics when computeStatistics is 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
  • 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.