Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.702/2.702, allocations: 287.9 MB / 302.9 MB, free: 8.238 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.002258/0.002258, allocations: 183 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.216/2.216, allocations: 205.4 MB / 0.6301 GB, free: 10.42 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.001042/0.001042, allocations: 100 kB / 0.7434 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004688, allocations: 13.84 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1605, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.001891/0.1625, allocations: 1.587 MB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.164, allocations: 0.9378 MB / 0.9812 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1641, allocations: 4 kB / 0.9812 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.1644, allocations: 95.61 kB / 0.9813 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.1647, allocations: 83.81 kB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1651, allocations: 109.9 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.1653, allocations: 123.7 kB / 0.9816 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1654, allocations: 37.64 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1656, allocations: 83.62 kB / 0.9818 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1657, allocations: 71.67 kB / 0.9818 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1657, allocations: 4 kB / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1659, allocations: 43.97 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.1659, allocations: 39.83 kB / 0.9819 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.166, allocations: 61.62 kB / 0.982 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.1662, allocations: 203.7 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1663, allocations: 0 / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.989e-06/0.1663, allocations: 0 / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.1663, allocations: 0 / 0.9822 GB, free: 24.68 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.0006926/0.167, allocations: 0.5121 MB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.167, allocations: 8.031 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.1671, allocations: 31.61 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.1675, allocations: 286.5 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1675, allocations: 4 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1676, allocations: 8 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1678, allocations: 85.59 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.239e-06/0.1678, allocations: 0 / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.1678, allocations: 3.984 kB / 0.9831 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.739e-06/0.1678, allocations: 7.953 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.168, allocations: 35.98 kB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006543/0.1686, allocations: 432.5 kB / 0.9835 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.1689, allocations: 78.62 kB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.169, allocations: 4.125 kB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.1692, allocations: 87.3 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.64e-06/0.1692, allocations: 0 / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000368/0.1696, allocations: 133.3 kB / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.381e-05/0.1696, allocations: 51.41 kB / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.17, allocations: 358.9 kB / 0.9842 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1701, allocations: 33.7 kB / 0.9842 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.1701, allocations: 136 kB / 0.9844 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.1702, allocations: 23.8 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.1702, allocations: 8 kB / 0.9844 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.667e-05/0.1703, allocations: 330.8 kB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1704, allocations: 51.98 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.1706, allocations: 82.88 kB / 0.9848 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1707, allocations: 53.81 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.017e-06/0.1707, allocations: 0 / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003733/0.1711, allocations: 197.3 kB / 0.9851 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1712, allocations: 4 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.1712, allocations: 4 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1712, allocations: 0 / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.1713, allocations: 23.92 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.927e-06/0.1714, allocations: 4 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.1715, allocations: 19.92 kB / 0.9851 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.1716, allocations: 4 kB / 0.9851 GB, free: 21.41 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,gre.y,$PRE.greHys.greHys.y,greHys.greHys.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.0001399/0.1717, allocations: 163.5 kB / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.1718, allocations: 23.67 kB / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.1718, allocations: 29.73 kB / 0.9853 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.594e-06/0.1718, allocations: 0 / 0.9853 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1719, allocations: 0 / 0.9853 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.921e-06/0.1719, allocations: 0 / 0.9853 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.1721, allocations: 253.4 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-06/0.1721, allocations: 0 / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.1721, allocations: 7.984 kB / 0.9856 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.573e-06/0.1721, allocations: 7.953 kB / 0.9856 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1722, allocations: 0 / 0.9856 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.45e-06/0.1722, allocations: 0 / 0.9856 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.747e-06/0.1722, allocations: 0 / 0.9856 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.1725, allocations: 132.9 kB / 0.9857 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.1725, allocations: 100.8 kB / 0.9858 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.1726, allocations: 11.95 kB / 0.9858 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1727, allocations: 19.92 kB / 0.9859 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.1728, allocations: 11.98 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.1728, allocations: 7.984 kB / 0.9859 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002372/0.1731, allocations: 221.9 kB / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.61e-07/0.1731, allocations: 0 / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003279/0.1734, allocations: 32 kB / 0.9861 GB, free: 20.31 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,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.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.001378/0.1748, allocations: 433.3 kB / 0.9865 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003066/0.1751, allocations: 103.8 kB / 0.9866 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.173e-06/0.1751, allocations: 0 / 0.9866 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.1753, allocations: 31.98 kB / 0.9867 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.0003142/0.1756, allocations: 40.84 kB / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006837/0.1763, allocations: 408.5 kB / 0.9871 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.1765, allocations: 0.7595 MB / 0.9878 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.1766, allocations: 29.69 kB / 0.9879 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.1767, allocations: 27.36 kB / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of SimCode: time 1.577e-06/0.1767, allocations: 0 / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.007131/0.1839, allocations: 2.546 MB / 0.9904 GB, free: 16.08 MB / 0.6198 GB