Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.488/2.488, allocations: 287.9 MB / 302.9 MB, free: 8.332 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.001447/0.001447, allocations: 177 kB / 371.4 MB, free: 10.66 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.1/2.1, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001023/0.001022, allocations: 91.86 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004596, allocations: 13.19 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1534, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.001943/0.1554, allocations: 1.587 MB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.157, allocations: 0.9339 MB / 0.9812 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.1571, allocations: 7.938 kB / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1575, allocations: 91.67 kB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.1578, allocations: 91.75 kB / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.1581, allocations: 106.8 kB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1584, allocations: 123.7 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1585, allocations: 29.67 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1587, allocations: 79.67 kB / 0.9817 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.1588, allocations: 75.67 kB / 0.9818 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.1588, allocations: 4 kB / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.159, allocations: 39.97 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.159, allocations: 43.83 kB / 0.9819 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.1591, allocations: 57.58 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.1594, allocations: 207.8 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.993e-06/0.1594, allocations: 0 / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.225e-06/0.1594, allocations: 0 / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.74e-06/0.1594, allocations: 4 kB / 0.9822 GB, free: 24.67 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000709/0.1601, allocations: 0.5021 MB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.1602, allocations: 12.03 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.1602, allocations: 27.61 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.1606, allocations: 294.4 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.1607, allocations: 4 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.1607, allocations: 12 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1609, allocations: 77.66 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1609, allocations: 0 / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.161, allocations: 0 / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.536e-06/0.161, allocations: 3.953 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.1611, allocations: 39.97 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006897/0.1618, allocations: 432.5 kB / 0.9835 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.1621, allocations: 86.61 kB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.1622, allocations: 11.92 kB / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.1624, allocations: 83.48 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 4e-06/0.1624, allocations: 3.984 kB / 0.9837 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003852/0.1628, allocations: 129.4 kB / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.1628, allocations: 51.41 kB / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004061/0.1633, allocations: 362.8 kB / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1633, allocations: 37.64 kB / 0.9842 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.816e-05/0.1634, allocations: 140 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.1634, allocations: 23.78 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.1635, allocations: 0 / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.1635, allocations: 334.8 kB / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.1637, allocations: 55.97 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.1638, allocations: 74.62 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.164, allocations: 59.98 kB / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.81e-06/0.164, allocations: 0 / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003849/0.1644, allocations: 198.6 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1644, allocations: 5.719 kB / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1644, allocations: 0 / 0.9851 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1645, allocations: 4 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.1646, allocations: 19.98 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.744e-06/0.1646, allocations: 4 kB / 0.9851 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.1648, allocations: 23.95 kB / 0.9851 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.1648, allocations: 4 kB / 0.9851 GB, free: 21.39 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.0001393/0.165, allocations: 151.5 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.165, allocations: 31.66 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.965e-05/0.1651, allocations: 21.75 kB / 0.9853 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.026e-06/0.1651, allocations: 0 / 0.9853 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.038e-06/0.1651, allocations: 3.984 kB / 0.9853 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.2e-06/0.1652, allocations: 0 / 0.9853 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.1654, allocations: 245.4 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1654, allocations: 8 kB / 0.9856 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.1654, allocations: 3.984 kB / 0.9856 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.317e-06/0.1654, allocations: 7.953 kB / 0.9856 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1655, allocations: 0 / 0.9856 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1655, allocations: 0 / 0.9856 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.1655, allocations: 0 / 0.9856 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.1657, allocations: 136.8 kB / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.1658, allocations: 100.8 kB / 0.9858 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.1659, allocations: 11.95 kB / 0.9858 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.166, allocations: 11.98 kB / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.1661, allocations: 11.98 kB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.1661, allocations: 4 kB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002424/0.1663, allocations: 225.9 kB / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.82e-07/0.1664, allocations: 0 / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003311/0.1667, allocations: 36 kB / 0.9861 GB, free: 20.3 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.001401/0.1681, allocations: 422.6 kB / 0.9865 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003138/0.1684, allocations: 107.8 kB / 0.9866 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.478e-06/0.1685, allocations: 0 / 0.9866 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.1686, allocations: 27.98 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.1689, allocations: 48.78 kB / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006918/0.1696, allocations: 412.5 kB / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.1699, allocations: 0.7518 MB / 0.9878 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.17, allocations: 33.53 kB / 0.9879 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.1701, allocations: 23.42 kB / 0.9879 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of SimCode: time 1.74e-06/0.1701, allocations: 0 / 0.9879 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.007185/0.1773, allocations: 2.551 MB / 0.9904 GB, free: 16.07 MB / 0.6198 GB