Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.591/2.591, allocations: 287.9 MB / 302.9 MB, free: 8.344 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.001452/0.001452, allocations: 181.1 kB / 371.4 MB, free: 10.69 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.032/2.032, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001037/0.001037, allocations: 85.3 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004623, allocations: 11.62 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1581, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003044/0.1612, allocations: 1.586 MB / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002764/0.164, allocations: 0.9651 MB / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.1643, allocations: 3.938 kB / 0.9813 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.1647, allocations: 79.75 kB / 0.9813 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.165, allocations: 71.78 kB / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.1654, allocations: 114.2 kB / 0.9815 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.1656, allocations: 123.7 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1658, allocations: 49.81 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.166, allocations: 83.69 kB / 0.9818 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.1661, allocations: 79.61 kB / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.1661, allocations: 4 kB / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1663, allocations: 43.89 kB / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.081e-05/0.1663, allocations: 47.83 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.1664, allocations: 61.58 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1667, allocations: 199.8 kB / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.537e-06/0.1667, allocations: 0 / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.866e-06/0.1667, allocations: 0 / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.49e-06/0.1667, allocations: 0 / 0.9822 GB, free: 24.66 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007867/0.1675, allocations: 0.52 MB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1676, allocations: 16.02 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.1676, allocations: 23.72 kB / 0.9827 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.168, allocations: 274.7 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.1681, allocations: 8.188 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.1681, allocations: 12 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003233/0.1684, allocations: 119.1 kB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1685, allocations: 0 / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.1685, allocations: 11.95 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-06/0.1685, allocations: 0 / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.1689, allocations: 96.48 kB / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007677/0.1696, allocations: 476.4 kB / 0.9837 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.1701, allocations: 138.5 kB / 0.9838 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.1701, allocations: 0 / 0.9838 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000323/0.1704, allocations: 123.3 kB / 0.9839 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.806e-06/0.1705, allocations: 0 / 0.9839 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0007785/0.1712, allocations: 267.9 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.1713, allocations: 59.34 kB / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.1717, allocations: 326.5 kB / 0.9845 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.1717, allocations: 33.92 kB / 0.9846 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.1718, allocations: 140.5 kB / 0.9847 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.1719, allocations: 43.53 kB / 0.9847 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.1719, allocations: 4 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.172, allocations: 342.8 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.1722, allocations: 83.95 kB / 0.9852 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.1725, allocations: 142 kB / 0.9853 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.1728, allocations: 97.09 kB / 0.9854 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.752e-06/0.1728, allocations: 0 / 0.9854 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007112/0.1736, allocations: 301.7 kB / 0.9857 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1736, allocations: 7.984 kB / 0.9857 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.28e-06/0.1736, allocations: 4 kB / 0.9857 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.1736, allocations: 0 / 0.9857 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.1739, allocations: 47.91 kB / 0.9857 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1739, allocations: 4.188 kB / 0.9857 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.1742, allocations: 23.98 kB / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.1742, allocations: 12 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001654/0.1744, allocations: 167 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.1744, allocations: 23.72 kB / 0.986 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.849e-05/0.1745, allocations: 26.17 kB / 0.986 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.357e-06/0.1745, allocations: 0 / 0.986 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.234e-06/0.1745, allocations: 4 kB / 0.986 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.808e-06/0.1745, allocations: 3.984 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009409/0.1755, allocations: 0.5567 MB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.618e-06/0.1755, allocations: 4 kB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1756, allocations: 19.98 kB / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.336e-06/0.1757, allocations: 0 / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.1757, allocations: 4 kB / 0.9866 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.519e-06/0.1757, allocations: 0 / 0.9866 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.895e-06/0.1757, allocations: 0 / 0.9866 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/0.1763, allocations: 311 kB / 0.9869 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.1763, allocations: 100.8 kB / 0.9869 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.1764, allocations: 8 kB / 0.987 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.1766, allocations: 15.98 kB / 0.987 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/0.1767, allocations: 23.91 kB / 0.987 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.1767, allocations: 8 kB / 0.987 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002283/0.177, allocations: 217.9 kB / 0.9872 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.68e-07/0.177, allocations: 0 / 0.9872 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005922/0.1776, allocations: 51.91 kB / 0.9873 GB, free: 19.12 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00154/0.1791, allocations: 422.6 kB / 0.9877 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006363/0.1798, allocations: 192.4 kB / 0.9878 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.351e-06/0.1798, allocations: 0 / 0.9878 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.1801, allocations: 84.27 kB / 0.9879 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.1805, allocations: 50.59 kB / 0.988 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.1813, allocations: 436.8 kB / 0.9884 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.1815, allocations: 0.7599 MB / 0.9891 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.1817, allocations: 37.92 kB / 0.9892 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.1817, allocations: 23.44 kB / 0.9892 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.82e-06/0.1818, allocations: 4 kB / 0.9892 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.007505/0.1893, allocations: 2.761 MB / 0.9919 GB, free: 14.51 MB / 0.6198 GB