Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.848/2.848, allocations: 287.9 MB / 302.9 MB, free: 8.336 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.001414/0.001413, allocations: 183.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.062/2.062, allocations: 205.4 MB / 0.6301 GB, free: 10.44 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.001025/0.001025, allocations: 96.16 kB / 0.7434 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.00047, allocations: 22.94 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1599, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001019/0.161, allocations: 0.7062 MB / 0.9795 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1625, allocations: 1.246 MB / 0.9807 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.1626, allocations: 4 kB / 0.9807 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.1627, allocations: 7.875 kB / 0.9807 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.1628, allocations: 31.88 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007598/0.1636, allocations: 234.2 kB / 0.9809 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.1638, allocations: 151.8 kB / 0.9811 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1639, allocations: 33.84 kB / 0.9811 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.164, allocations: 99.72 kB / 0.9812 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.1642, allocations: 91.64 kB / 0.9813 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.1642, allocations: 15.94 kB / 0.9813 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.231e-05/0.1643, allocations: 23.98 kB / 0.9813 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.1644, allocations: 35.83 kB / 0.9814 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.1644, allocations: 53.64 kB / 0.9814 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.1647, allocations: 251.6 kB / 0.9817 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.742e-06/0.1647, allocations: 0 / 0.9817 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.36e-06/0.1647, allocations: 0 / 0.9817 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.82e-06/0.1647, allocations: 0 / 0.9817 GB, free: 25.22 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006784/0.1654, allocations: 0.5253 MB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1655, allocations: 8.031 kB / 0.9822 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.913e-05/0.1656, allocations: 27.72 kB / 0.9822 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008109/0.1664, allocations: 318.3 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.1664, allocations: 16 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.1665, allocations: 23.98 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.1668, allocations: 134.4 kB / 0.9827 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1668, allocations: 0 / 0.9827 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.1669, allocations: 7.938 kB / 0.9827 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.751e-06/0.1669, allocations: 4 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.1672, allocations: 87.94 kB / 0.9828 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000768/0.168, allocations: 0.6374 MB / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.1684, allocations: 151.9 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.1685, allocations: 0 / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/0.1688, allocations: 152.8 kB / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.57e-06/0.1689, allocations: 3.938 kB / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0006603/0.1695, allocations: 213.3 kB / 0.9839 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1696, allocations: 114.8 kB / 0.984 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.1698, allocations: 186.7 kB / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.1698, allocations: 33.7 kB / 0.9842 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.1699, allocations: 124.5 kB / 0.9843 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.17, allocations: 35.55 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.17, allocations: 4 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.1701, allocations: 334.8 kB / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.1704, allocations: 103.9 kB / 0.9848 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.1707, allocations: 169.6 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.171, allocations: 143.4 kB / 0.9851 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.946e-06/0.1711, allocations: 0 / 0.9851 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008308/0.1719, allocations: 360.6 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/0.172, allocations: 68.64 kB / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.18e-06/0.172, allocations: 4 kB / 0.9855 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.172, allocations: 0 / 0.9855 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1722, allocations: 24.11 kB / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.622e-06/0.1722, allocations: 0 / 0.9855 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.1727, allocations: 95.77 kB / 0.9856 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.655e-05/0.1728, allocations: 12 kB / 0.9856 GB, free: 20.81 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: 14 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.0001514/0.1729, allocations: 142.2 kB / 0.9858 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.173, allocations: 15.81 kB / 0.9858 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.1733, allocations: 110.5 kB / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.869e-06/0.1733, allocations: 4 kB / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.005e-06/0.1733, allocations: 0 / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.606e-06/0.1734, allocations: 288 / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.1736, allocations: 241.5 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.962e-06/0.1736, allocations: 0.6875 kB / 0.9861 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1737, allocations: 23.98 kB / 0.9861 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.54e-06/0.1737, allocations: 3.984 kB / 0.9861 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.1738, allocations: 11.98 kB / 0.9862 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.67e-06/0.1738, allocations: 4 kB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1738, allocations: 0 / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.1742, allocations: 221.9 kB / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.1743, allocations: 88.92 kB / 0.9865 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.1743, allocations: 8 kB / 0.9865 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1745, allocations: 15.98 kB / 0.9865 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.1746, allocations: 35.89 kB / 0.9865 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.1746, allocations: 4 kB / 0.9865 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001122/0.1747, allocations: 144.2 kB / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.21e-07/0.1747, allocations: 0 / 0.9867 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003971/0.1751, allocations: 40 kB / 0.9867 GB, free: 19.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.0001682/0.1753, allocations: 124.9 kB / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006705/0.176, allocations: 330.6 kB / 0.9871 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.176, allocations: 0 / 0.9871 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.1762, allocations: 68.16 kB / 0.9872 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.1766, allocations: 35.91 kB / 0.9872 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005989/0.1772, allocations: 338.4 kB / 0.9876 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.1774, allocations: 0.7245 MB / 0.9883 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.1775, allocations: 21.55 kB / 0.9883 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.1776, allocations: 27.42 kB / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of SimCode: time 1.731e-06/0.1776, allocations: 0 / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.007588/0.1852, allocations: 2.877 MB / 0.9911 GB, free: 15.03 MB / 0.6198 GB