Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.51/2.51, allocations: 287.9 MB / 302.9 MB, free: 8.207 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.001444/0.001444, allocations: 188.1 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.093/2.093, 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.001017/0.001017, allocations: 91.78 kB / 0.7434 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004673, allocations: 13.8 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1535, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0007605/0.1543, allocations: 466.3 kB / 0.9792 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1557, allocations: 1.212 MB / 0.9804 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.1557, allocations: 0 / 0.9804 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.1558, allocations: 7.875 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.233e-05/0.1559, allocations: 19.95 kB / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007018/0.1566, allocations: 221.9 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.1567, allocations: 123.8 kB / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.694e-05/0.1568, allocations: 12.22 kB / 0.9808 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.157, allocations: 87.8 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1571, allocations: 83.77 kB / 0.9809 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.1572, allocations: 12 kB / 0.9809 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.012e-05/0.1572, allocations: 27.98 kB / 0.981 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.1573, allocations: 23.95 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.1574, allocations: 53.64 kB / 0.981 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.1576, allocations: 151.9 kB / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.548e-06/0.1576, allocations: 0 / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.375e-06/0.1576, allocations: 4 kB / 0.9812 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.1576, allocations: 0 / 0.9812 GB, free: 25.7 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005464/0.1582, allocations: 470.4 kB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1582, allocations: 12.02 kB / 0.9816 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.212e-05/0.1583, allocations: 23.89 kB / 0.9817 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.1589, allocations: 272.7 kB / 0.9819 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.159, allocations: 11.98 kB / 0.9819 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.586e-05/0.159, allocations: 20 kB / 0.982 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.1593, allocations: 128.9 kB / 0.9821 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.02e-06/0.1593, allocations: 0 / 0.9821 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.1593, allocations: 4 kB / 0.9821 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.046e-06/0.1594, allocations: 0 / 0.9821 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1595, allocations: 71.88 kB / 0.9822 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007956/0.1603, allocations: 0.5202 MB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.1606, allocations: 157.2 kB / 0.9828 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.1607, allocations: 4 kB / 0.9828 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003859/0.1611, allocations: 215.9 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.224e-05/0.1611, allocations: 0 / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0006257/0.1617, allocations: 301.7 kB / 0.9833 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.1618, allocations: 96.98 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.834e-05/0.1619, allocations: 132.3 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.1619, allocations: 45.62 kB / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.162, allocations: 92.7 kB / 0.9837 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.1621, allocations: 51.34 kB / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.1621, allocations: 8 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.67e-05/0.1622, allocations: 322.8 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.1624, allocations: 92.22 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.1626, allocations: 152.2 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.1629, allocations: 135.3 kB / 0.9844 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.671e-06/0.1629, allocations: 4 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006604/0.1636, allocations: 356.6 kB / 0.9847 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.365e-05/0.1636, allocations: 63.34 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.792e-06/0.1636, allocations: 4 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1637, allocations: 4 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.912e-05/0.1638, allocations: 23.92 kB / 0.9848 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.792e-06/0.1638, allocations: 4 kB / 0.9848 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.1642, allocations: 95.94 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.1643, allocations: 20 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.000132/0.1645, allocations: 140 kB / 0.9851 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.1645, allocations: 11.91 kB / 0.9851 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.1645, allocations: 16.48 kB / 0.9851 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.243e-06/0.1646, allocations: 4 kB / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.927e-06/0.1646, allocations: 0 / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.985e-06/0.1646, allocations: 0 / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006617/0.1653, allocations: 0.6241 MB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.503e-06/0.1653, allocations: 4.078 kB / 0.9857 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.1653, allocations: 15.88 kB / 0.9857 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.492e-06/0.1654, allocations: 0 / 0.9857 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.1654, allocations: 11.98 kB / 0.9857 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.522e-06/0.1654, allocations: 0 / 0.9857 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.852e-06/0.1654, allocations: 3.953 kB / 0.9857 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.1659, allocations: 430.9 kB / 0.9862 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.1659, allocations: 88.95 kB / 0.9862 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.166, allocations: 8 kB / 0.9862 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.1662, allocations: 19.94 kB / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.1663, allocations: 27.89 kB / 0.9863 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.1663, allocations: 23.98 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.156e-05/0.1664, allocations: 94.89 kB / 0.9864 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.12e-06/0.1664, allocations: 0 / 0.9864 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006964/0.1671, allocations: 59.91 kB / 0.9865 GB, free: 19.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001626/0.1673, allocations: 119 kB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005375/0.1678, allocations: 343.5 kB / 0.9869 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.927e-06/0.1679, allocations: 4.125 kB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.1681, allocations: 119.8 kB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1684, allocations: 19.92 kB / 0.987 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.169, allocations: 296.7 kB / 0.9873 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.1691, allocations: 0.7086 MB / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.724e-05/0.1692, allocations: 17.55 kB / 0.988 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.1693, allocations: 19.44 kB / 0.988 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of SimCode: time 1.344e-06/0.1693, allocations: 0 / 0.988 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.006088/0.1754, allocations: 2.369 MB / 0.9904 GB, free: 15.81 MB / 0.6198 GB