Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.671/2.671, allocations: 287.9 MB / 302.9 MB, free: 8.297 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.001419/0.001419, allocations: 186.6 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.13/2.13, 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.001024/0.001023, allocations: 99.44 kB / 0.7434 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.000486, allocations: 17.44 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1578, 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.IntegratorWithReset): time 0.000965/0.1588, allocations: 0.5805 MB / 0.9793 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1602, allocations: 1.142 MB / 0.9805 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.17e-05/0.1603, allocations: 0 / 0.9805 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.1604, allocations: 7.922 kB / 0.9805 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.721e-05/0.1605, allocations: 11.98 kB / 0.9805 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.161, allocations: 132.2 kB / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.1611, allocations: 91.83 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1612, allocations: 29.05 kB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.038e-05/0.1613, allocations: 59.81 kB / 0.9808 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.758e-05/0.1614, allocations: 43.83 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.1615, allocations: 8 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.706e-05/0.1615, allocations: 19.97 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.1616, allocations: 19.92 kB / 0.9809 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.1616, allocations: 49.64 kB / 0.9809 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.1618, allocations: 112 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.842e-06/0.1618, allocations: 7.938 kB / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.945e-06/0.1618, allocations: 0 / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.1618, allocations: 0 / 0.981 GB, free: 25.86 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00053/0.1624, allocations: 432.7 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1624, allocations: 8.031 kB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.1625, allocations: 15.91 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005635/0.1631, allocations: 262.6 kB / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.1631, allocations: 8 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.505e-05/0.1632, allocations: 23.98 kB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.1634, allocations: 85.66 kB / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1634, allocations: 4 kB / 0.9818 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1635, allocations: 3.984 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.314e-06/0.1635, allocations: 4 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.1637, allocations: 55.95 kB / 0.9819 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.1645, allocations: 396.4 kB / 0.9823 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.1646, allocations: 42.52 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1647, allocations: 128 / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/0.1649, allocations: 103.3 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 3.035e-06/0.165, allocations: 0 / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.000487/0.1655, allocations: 149.5 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.1655, allocations: 51.41 kB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1656, allocations: 140 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.1657, allocations: 33.7 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.1657, allocations: 116.1 kB / 0.9829 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.1658, allocations: 31.55 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-05/0.1658, allocations: 4 kB / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.742e-05/0.1659, allocations: 322.8 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.1661, allocations: 51.95 kB / 0.9833 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.1663, allocations: 135.4 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.1665, allocations: 89.67 kB / 0.9835 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.554e-06/0.1666, allocations: 7.953 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006248/0.1672, allocations: 251.2 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.1673, allocations: 47.27 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.993e-06/0.1673, allocations: 0 / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.1673, allocations: 8 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.1675, allocations: 19.98 kB / 0.9838 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.865e-06/0.1675, allocations: 11.92 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.1678, allocations: 55.81 kB / 0.9839 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.1678, allocations: 15.98 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,sampleTrigger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001166/0.168, allocations: 127.8 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.168, allocations: 15.86 kB / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.96e-05/0.1681, allocations: 8.719 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.625e-06/0.1681, allocations: 4 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.385e-06/0.1681, allocations: 0 / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.647e-06/0.1681, allocations: 7.984 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006468/0.1688, allocations: 410.2 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-06/0.1688, allocations: 0 / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.1689, allocations: 19.98 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.987e-06/0.1689, allocations: 0 / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1689, allocations: 4 kB / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.124e-06/0.169, allocations: 0 / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.169, allocations: 0 / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.1695, allocations: 255.3 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.1695, allocations: 85.02 kB / 0.9848 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1696, allocations: 4 kB / 0.9848 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.1697, allocations: 12.03 kB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/0.1698, allocations: 7.984 kB / 0.9848 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1698, allocations: 7.938 kB / 0.9848 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.36e-05/0.1699, allocations: 113.8 kB / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.25e-06/0.1699, allocations: 0 / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004204/0.1703, allocations: 36.03 kB / 0.9849 GB, free: 21.47 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001573/0.1705, allocations: 111.2 kB / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004841/0.171, allocations: 191.2 kB / 0.9852 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.703e-06/0.171, allocations: 0 / 0.9852 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.1711, allocations: 39.92 kB / 0.9853 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.1714, allocations: 20.62 kB / 0.9853 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.172, allocations: 297.8 kB / 0.9856 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.1722, allocations: 0.7126 MB / 0.9863 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.415e-05/0.1723, allocations: 16.64 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.1723, allocations: 15.44 kB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of SimCode: time 2.199e-06/0.1723, allocations: 0 / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.005156/0.1775, allocations: 1.471 MB / 0.9877 GB, free: 18.56 MB / 0.6198 GB