Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart",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.001035/0.001036, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001035/0.001035, allocations: 188.7 kB / 16.13 MB, free: 6.668 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.257/1.257, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001988/0.001988, allocations: 290.2 kB / 290.2 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9123/0.9123, allocations: 169.2 MB / 0.4977 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 98.84 kB / 0.5946 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1626, allocations: 86.97 MB / 0.6795 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002449/0.1651, allocations: 1.538 MB / 0.681 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006362/0.1658, allocations: 440.8 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.89e-05/0.1658, allocations: 1.031 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.1659, allocations: 0 / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.828e-05/0.166, allocations: 8.484 kB / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.1661, allocations: 15.98 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.136e-05/0.1662, allocations: 44.58 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1663, allocations: 20.89 kB / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.567e-05/0.1664, allocations: 21.86 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.1664, allocations: 19.91 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1664, allocations: 4 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.355e-05/0.1665, allocations: 4 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.1665, allocations: 11.92 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.1665, allocations: 19.94 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.57e-05/0.1666, allocations: 47.75 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1666, allocations: 0 / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1666, allocations: 0 / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.1666, allocations: 0 / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004839/0.1671, allocations: 359.4 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1672, allocations: 12.02 kB / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.1672, allocations: 38.75 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.1673, allocations: 4.844 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1674, allocations: 172.3 kB / 0.6822 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1674, allocations: 8.375 kB / 0.6822 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.1674, allocations: 8.359 kB / 0.6822 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.1676, allocations: 53.81 kB / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.1676, allocations: 0 / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.1676, allocations: 0 / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1676, allocations: 4 kB / 0.6823 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.036e-05/0.1677, allocations: 27.92 kB / 0.6823 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.1681, allocations: 300.7 kB / 0.6826 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1683, allocations: 62.53 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.1683, allocations: 28.94 kB / 0.6827 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-06/0.1683, allocations: 0 / 0.6827 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.1685, allocations: 71.39 kB / 0.6828 GB, free: 13.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.1685, allocations: 0 / 0.6828 GB, free: 13.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002068/0.1687, allocations: 97.61 kB / 0.6829 GB, free: 13.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.1688, allocations: 55.41 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.1688, allocations: 109.8 kB / 0.683 GB, free: 13.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1689, allocations: 33.64 kB / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.1689, allocations: 80.14 kB / 0.6831 GB, free: 13.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.169, allocations: 31.62 kB / 0.6832 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.169, allocations: 29.72 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1691, allocations: 330.8 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.1692, allocations: 15.94 kB / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.1692, allocations: 47.42 kB / 0.6836 GB, free: 12.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.575e-05/0.1693, allocations: 71.53 kB / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1693, allocations: 4 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001255/0.1695, allocations: 85.62 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1695, allocations: 7.984 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1695, allocations: 0 / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.1695, allocations: 4 kB / 0.6837 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.1696, allocations: 11.94 kB / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1696, allocations: 0 / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.1697, allocations: 19.95 kB / 0.6838 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.1697, allocations: 7.938 kB / 0.6838 GB, free: 12.49 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.291e-05/0.1698, allocations: 119.2 kB / 0.6839 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.1698, allocations: 4 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.1698, allocations: 7.969 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1698, allocations: 4.375 kB / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1698, allocations: 0 / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1698, allocations: 0 / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.1702, allocations: 370.2 kB / 0.6842 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1702, allocations: 3.938 kB / 0.6842 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.459e-05/0.1702, allocations: 4 kB / 0.6843 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1702, allocations: 0 / 0.6843 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1703, allocations: 8 kB / 0.6843 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1703, allocations: 3.938 kB / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1703, allocations: 0 / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.1704, allocations: 179.5 kB / 0.6844 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.1705, allocations: 81.02 kB / 0.6845 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.1705, allocations: 8 kB / 0.6845 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/0.1706, allocations: 7.922 kB / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.1706, allocations: 7.984 kB / 0.6845 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.1706, allocations: 11.94 kB / 0.6845 GB, free: 11.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.282e-05/0.1707, allocations: 79.28 kB / 0.6846 GB, free: 11.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1707, allocations: 0 / 0.6846 GB, free: 11.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.1709, allocations: 16 kB / 0.6846 GB, free: 11.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003908/0.1713, allocations: 0.7146 MB / 0.6853 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.1714, allocations: 60.42 kB / 0.6854 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1714, allocations: 0 / 0.6854 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.953e-05/0.1715, allocations: 27.88 kB / 0.6854 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.1718, allocations: 16.86 kB / 0.6854 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.173, allocations: 1.379 MB / 0.6868 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.1733, allocations: 0.69 MB / 0.6875 GB, free: 8.465 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.919e-05/0.1733, allocations: 7.938 kB / 0.6875 GB, free: 8.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.1733, allocations: 15.44 kB / 0.6875 GB, free: 8.441 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1734, allocations: 0 / 0.6875 GB, free: 8.441 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01022/0.1836, allocations: 1.565 MB / 0.689 GB, free: 7.027 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.1838, allocations: 221.9 kB / 0.6892 GB, free: 6.773 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/1.839, allocations: 3.75 kB / 0.6892 GB, free: 6.773 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)