Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.696/2.696, allocations: 287.9 MB / 302.9 MB, free: 8.301 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.001396/0.001396, allocations: 181.1 kB / 371.4 MB, free: 10.67 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 1.948/1.948, allocations: 205.4 MB / 0.6301 GB, free: 10.34 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.001019/0.001019, allocations: 97.69 kB / 0.7434 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004632/0.0004634, allocations: 15.75 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1534, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.0009161/0.1543, allocations: 0.5716 MB / 0.9793 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000931/0.1553, allocations: 0.8682 MB / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.1554, allocations: 0 / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.1554, allocations: 7.922 kB / 0.9802 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.423e-05/0.1555, allocations: 15.97 kB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.1557, allocations: 31.84 kB / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.1558, allocations: 59.92 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1559, allocations: 37.28 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.885e-05/0.156, allocations: 35.84 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.959e-05/0.1561, allocations: 39.78 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1561, allocations: 0 / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.699e-05/0.1562, allocations: 4 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.1562, allocations: 11.92 kB / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.1562, allocations: 41.64 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.1563, allocations: 95.98 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.812e-06/0.1564, allocations: 3.938 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.788e-06/0.1564, allocations: 0 / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.784e-06/0.1564, allocations: 0 / 0.9805 GB, free: 26.34 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.000741/0.1571, allocations: 458.9 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1572, allocations: 8.031 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.1572, allocations: 7.906 kB / 0.981 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1574, allocations: 192.8 kB / 0.9812 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1574, allocations: 4 kB / 0.9812 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1574, allocations: 8 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.1577, allocations: 101.5 kB / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.401e-06/0.1577, allocations: 0 / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1577, allocations: 0 / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1577, allocations: 4 kB / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.158, allocations: 75.95 kB / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007176/0.1587, allocations: 420.5 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1589, allocations: 66.52 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.1589, allocations: 3.938 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.1589, allocations: 34.69 kB / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.395e-06/0.159, allocations: 0 / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.000414/0.1594, allocations: 125.5 kB / 0.982 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.1594, allocations: 59.41 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1596, allocations: 147.9 kB / 0.9822 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1596, allocations: 29.7 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.1596, allocations: 104 kB / 0.9823 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.1597, allocations: 11.81 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-06/0.1597, allocations: 4 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.1598, allocations: 322.8 kB / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.1599, allocations: 31.98 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.16, allocations: 39.95 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.747e-05/0.1601, allocations: 31.98 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1601, allocations: 0 / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002669/0.1604, allocations: 105.5 kB / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1604, allocations: 4 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1605, allocations: 0 / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1605, allocations: 4 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1606, allocations: 15.98 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.587e-06/0.1606, allocations: 0 / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.1608, allocations: 35.91 kB / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1608, allocations: 0 / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.104e-05/0.1609, allocations: 121.8 kB / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.161, allocations: 11.86 kB / 0.983 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.161, allocations: 16.31 kB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.159e-06/0.1611, allocations: 7.922 kB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.124e-06/0.1611, allocations: 0 / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.017e-06/0.1611, allocations: 0 / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.1613, allocations: 197.5 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.014e-06/0.1613, allocations: 4 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.041e-05/0.1614, allocations: 15.94 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.389e-06/0.1614, allocations: 7.953 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1614, allocations: 4.234 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1614, allocations: 0 / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.864e-06/0.1615, allocations: 4 kB / 0.9833 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.1617, allocations: 191.4 kB / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.1618, allocations: 89.02 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.1618, allocations: 3.953 kB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.1621, allocations: 31.97 kB / 0.9836 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.041e-05/0.1621, allocations: 19.97 kB / 0.9836 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.261e-06/0.1622, allocations: 0 / 0.9836 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.603e-05/0.1622, allocations: 118.3 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.39e-07/0.1623, allocations: 0 / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003067/0.1626, allocations: 12 kB / 0.9837 GB, free: 22.79 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 9.359e-05/0.1627, allocations: 103.2 kB / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.1629, allocations: 75.97 kB / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.656e-06/0.163, allocations: 0 / 0.9839 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1631, allocations: 39.97 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.1634, allocations: 8 kB / 0.9839 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004281/0.1638, allocations: 235 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.164, allocations: 0.706 MB / 0.9848 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.045e-05/0.164, allocations: 7.984 kB / 0.9848 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.1641, allocations: 11.42 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of SimCode: time 1.438e-06/0.1641, allocations: 4 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of Templates: time 0.003804/0.1679, allocations: 1.065 MB / 0.9859 GB, free: 20.5 MB / 0.6198 GB