Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.513/2.513, allocations: 287.9 MB / 302.9 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002096/0.002096, allocations: 174.8 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 90.42 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004687, allocations: 17.75 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.158, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.001928/0.16, allocations: 1.606 MB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1616, allocations: 0.9495 MB / 0.9813 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.1617, allocations: 7.938 kB / 0.9813 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.162, allocations: 87.73 kB / 0.9814 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.1623, allocations: 87.69 kB / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.1627, allocations: 103.8 kB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.1629, allocations: 131.7 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.1631, allocations: 46.06 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.1632, allocations: 75.69 kB / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.1633, allocations: 79.62 kB / 0.9819 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1634, allocations: 0 / 0.9819 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1635, allocations: 43.91 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.1636, allocations: 51.81 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.1636, allocations: 53.58 kB / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.1639, allocations: 211.8 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.392e-06/0.1639, allocations: 0 / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.862e-06/0.1639, allocations: 0 / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.1639, allocations: 0 / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006836/0.1646, allocations: 0.5138 MB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1647, allocations: 12.02 kB / 0.9827 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.146e-05/0.1647, allocations: 27.67 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.1651, allocations: 290.4 kB / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1652, allocations: 4 kB / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.1652, allocations: 12 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.1654, allocations: 94.89 kB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1655, allocations: 0 / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.1655, allocations: 4 kB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.727e-06/0.1655, allocations: 4 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.1657, allocations: 47.94 kB / 0.9832 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007011/0.1664, allocations: 464.4 kB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.1667, allocations: 86.55 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1667, allocations: 0 / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.1669, allocations: 79.48 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.414e-06/0.1669, allocations: 0 / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003681/0.1673, allocations: 129.4 kB / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.1673, allocations: 55.34 kB / 0.984 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004089/0.1678, allocations: 363 kB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.87e-05/0.1678, allocations: 33.69 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/0.1679, allocations: 147.9 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1679, allocations: 23.8 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.1679, allocations: 4 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.835e-05/0.168, allocations: 338.8 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1682, allocations: 55.97 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.1683, allocations: 79.16 kB / 0.985 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.1685, allocations: 53.91 kB / 0.985 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.28e-06/0.1685, allocations: 0 / 0.985 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003981/0.1689, allocations: 201.3 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1689, allocations: 8 kB / 0.9852 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.127e-06/0.1689, allocations: 0 / 0.9852 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.169, allocations: 0 / 0.9852 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1691, allocations: 23.98 kB / 0.9852 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.628e-06/0.1691, allocations: 0 / 0.9852 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.1693, allocations: 15.94 kB / 0.9852 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.1693, allocations: 11.98 kB / 0.9853 GB, free: 21.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.1695, allocations: 159.4 kB / 0.9854 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.1695, allocations: 23.72 kB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.1696, allocations: 21.73 kB / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.011e-06/0.1696, allocations: 0 / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.307e-06/0.1696, allocations: 4 kB / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.079e-06/0.1696, allocations: 0 / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.1698, allocations: 249.4 kB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-06/0.1699, allocations: 0 / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.1699, allocations: 4 kB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.874e-06/0.1699, allocations: 4 kB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1699, allocations: 7.984 kB / 0.9857 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.17, allocations: 0 / 0.9857 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.17, allocations: 0 / 0.9857 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.1702, allocations: 136.8 kB / 0.9858 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/0.1703, allocations: 108.8 kB / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.1704, allocations: 4 kB / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.1705, allocations: 15.98 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.1706, allocations: 7.984 kB / 0.986 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1706, allocations: 11.94 kB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002725/0.1709, allocations: 233.9 kB / 0.9862 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.8e-07/0.1709, allocations: 3.938 kB / 0.9862 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003375/0.1712, allocations: 43.84 kB / 0.9862 GB, free: 20.19 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,lesHys.lesHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001388/0.1726, allocations: 410.4 kB / 0.9866 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.173, allocations: 103.9 kB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.498e-06/0.173, allocations: 0 / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1731, allocations: 31.92 kB / 0.9868 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.1735, allocations: 56.78 kB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006784/0.1741, allocations: 412.5 kB / 0.9872 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.1744, allocations: 0.7518 MB / 0.9879 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.1745, allocations: 33.94 kB / 0.988 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.1746, allocations: 23.42 kB / 0.988 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of SimCode: time 1.475e-06/0.1746, allocations: 0 / 0.988 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.007138/0.1817, allocations: 2.553 MB / 0.9905 GB, free: 15.95 MB / 0.6198 GB