Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004643/0.004643, allocations: 96.38 kB / 15.73 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 186 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002093/0.002093, allocations: 286.4 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9301/0.9301, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 99.84 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1544, allocations: 86.97 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter): time 0.002798/0.1573, allocations: 1.793 MB / 0.7676 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009789/0.1583, allocations: 0.5733 MB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.1584, allocations: 8 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.1585, allocations: 23.73 kB / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.1589, allocations: 69.72 kB / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.1591, allocations: 87.81 kB / 0.7684 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.1594, allocations: 271.4 kB / 0.7686 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1595, allocations: 28.3 kB / 0.7687 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.1597, allocations: 107.6 kB / 0.7688 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.16, allocations: 151.4 kB / 0.7689 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.16, allocations: 16 kB / 0.7689 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.238e-05/0.1601, allocations: 20 kB / 0.7689 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.514e-05/0.1602, allocations: 71.75 kB / 0.769 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1603, allocations: 99.39 kB / 0.7691 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.1605, allocations: 215.4 kB / 0.7693 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1605, allocations: 3.938 kB / 0.7693 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.555e-06/0.1605, allocations: 0 / 0.7693 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.1605, allocations: 3.938 kB / 0.7693 GB, free: 5.414 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001034/0.1616, allocations: 0.5488 MB / 0.7699 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1616, allocations: 12.03 kB / 0.7699 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.044e-05/0.1617, allocations: 46.73 kB / 0.7699 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.1617, allocations: 24.8 kB / 0.7699 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.1622, allocations: 278.9 kB / 0.7702 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1622, allocations: 16.38 kB / 0.7702 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.1623, allocations: 16.36 kB / 0.7702 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.1626, allocations: 142.4 kB / 0.7704 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1626, allocations: 0 / 0.7704 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.1626, allocations: 4 kB / 0.7704 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.1626, allocations: 12.22 kB / 0.7704 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.1629, allocations: 144.5 kB / 0.7705 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008836/0.1638, allocations: 0.5406 MB / 0.771 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.1641, allocations: 182.3 kB / 0.7712 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1643, allocations: 76.83 kB / 0.7713 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1643, allocations: 4 kB / 0.7713 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1643, allocations: 30.56 kB / 0.7713 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.1643, allocations: 0 / 0.7713 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0005332/0.1649, allocations: 263.6 kB / 0.7716 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.1649, allocations: 51.41 kB / 0.7716 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.1653, allocations: 249 kB / 0.7719 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.1653, allocations: 29.7 kB / 0.7719 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.611e-05/0.1654, allocations: 132.6 kB / 0.772 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.1655, allocations: 75.39 kB / 0.7721 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/0.1656, allocations: 45.66 kB / 0.7721 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1657, allocations: 338.8 kB / 0.7725 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.1659, allocations: 75.95 kB / 0.7725 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.166, allocations: 87 kB / 0.7726 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.1663, allocations: 176.8 kB / 0.7728 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1663, allocations: 0 / 0.7728 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000403/0.1667, allocations: 256.8 kB / 0.773 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1668, allocations: 4 kB / 0.773 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.1668, allocations: 0 / 0.773 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1668, allocations: 7.875 kB / 0.773 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.1671, allocations: 67.95 kB / 0.7731 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1671, allocations: 4 kB / 0.7731 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.1673, allocations: 15.89 kB / 0.7731 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1673, allocations: 8 kB / 0.7731 GB, free: 1.281 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.1675, allocations: 146.4 kB / 0.7733 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.1675, allocations: 19.86 kB / 0.7733 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.1676, allocations: 34.17 kB / 0.7733 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1676, allocations: 3.938 kB / 0.7733 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1676, allocations: 0 / 0.7733 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1676, allocations: 3.984 kB / 0.7733 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.1679, allocations: 301.4 kB / 0.7736 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1679, allocations: 0 / 0.7736 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.1682, allocations: 39.92 kB / 0.7737 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1682, allocations: 0 / 0.7737 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.1682, allocations: 11.98 kB / 0.7737 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1682, allocations: 3.938 kB / 0.7737 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1682, allocations: 0 / 0.7737 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000488/0.1687, allocations: 373.3 kB / 0.774 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.1688, allocations: 120.9 kB / 0.7741 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.1689, allocations: 11.92 kB / 0.7742 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.1691, allocations: 12 kB / 0.7742 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.1691, allocations: 15.95 kB / 0.7742 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1691, allocations: 8 kB / 0.7742 GB, free: 108 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.275/0.4441, allocations: 178.9 kB / 0.7744 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4442, allocations: 0 / 0.7744 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005493/0.4447, allocations: 55.23 kB / 0.7744 GB, free: 14.94 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (act_1.s[1],act_1.s[2],act_2.s[1],act_2.s[2],act_y_start05.s[1],act_y_start05.s[2],act_y_start1.s[1],act_y_start1.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009571/0.4457, allocations: 0.9009 MB / 0.7753 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004231/0.4461, allocations: 175.3 kB / 0.7755 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/0.4462, allocations: 0.8438 kB / 0.7755 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.4463, allocations: 88.02 kB / 0.7755 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.4467, allocations: 42.06 kB / 0.7756 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.4502, allocations: 2.68 MB / 0.7782 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.4504, allocations: 0.758 MB / 0.7789 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000145/0.4505, allocations: 50.22 kB / 0.779 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.4507, allocations: 64.19 kB / 0.779 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.4507, allocations: 0 / 0.779 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.4723, allocations: 4.838 MB / 0.7838 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.259/7.731, allocations: 11.27 kB / 0.7838 GB, free: 11.79 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1)