Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.812/2.812, allocations: 287.9 MB / 302.9 MB, free: 8.379 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.001477/0.001477, allocations: 173.1 kB / 371.4 MB, free: 10.66 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.001/2.001, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.001027/0.001027, allocations: 86.31 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004709, allocations: 17.75 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1558, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0007152/0.1566, allocations: 404.7 kB / 0.9792 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.1579, allocations: 1.128 MB / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.1579, allocations: 0 / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.158, allocations: 3.938 kB / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.142e-05/0.1581, allocations: 7.984 kB / 0.9803 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.1586, allocations: 126.7 kB / 0.9804 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.977e-05/0.1587, allocations: 75.86 kB / 0.9805 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.478e-05/0.1588, allocations: 11.98 kB / 0.9805 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.1589, allocations: 51.89 kB / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.858e-05/0.159, allocations: 39.88 kB / 0.9806 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.159, allocations: 8 kB / 0.9806 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.044e-05/0.1591, allocations: 19.98 kB / 0.9806 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.1591, allocations: 11.98 kB / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.1592, allocations: 49.62 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1593, allocations: 84.02 kB / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1594, allocations: 0 / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.002e-06/0.1594, allocations: 4 kB / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.709e-06/0.1594, allocations: 0 / 0.9807 GB, free: 26.16 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004887/0.1599, allocations: 400.9 kB / 0.9811 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1599, allocations: 8.031 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.16, allocations: 11.91 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.1604, allocations: 211 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.1605, allocations: 12 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.1605, allocations: 12 kB / 0.9814 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1607, allocations: 85.56 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.723e-06/0.1607, allocations: 0 / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.1608, allocations: 4 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-06/0.1608, allocations: 0 / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1609, allocations: 35.97 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.1615, allocations: 380.5 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.1617, allocations: 94.55 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1618, allocations: 0 / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.1621, allocations: 131.3 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 3.73e-06/0.1621, allocations: 4.031 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004609/0.1625, allocations: 204.7 kB / 0.9822 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.1626, allocations: 59.41 kB / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.1627, allocations: 113.8 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.1627, allocations: 37.64 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.1628, allocations: 92.05 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.1629, allocations: 35.84 kB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.1629, allocations: 8 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.405e-05/0.1629, allocations: 318.8 kB / 0.9829 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1631, allocations: 51.97 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.1633, allocations: 80.2 kB / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.1634, allocations: 81.69 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.394e-06/0.1634, allocations: 0 / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004162/0.1638, allocations: 207.2 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.1639, allocations: 35.2 kB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1639, allocations: 4 kB / 0.9833 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1639, allocations: 0 / 0.9833 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.728e-05/0.164, allocations: 11.98 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.46e-06/0.1641, allocations: 8.078 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.1643, allocations: 51.81 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.1644, allocations: 8 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001148/0.1645, allocations: 138.6 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.1645, allocations: 11.91 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.1646, allocations: 8.5 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1646, allocations: 0 / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.434e-06/0.1646, allocations: 0 / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.1646, allocations: 7.938 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.1651, allocations: 430.5 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1651, allocations: 0 / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.1652, allocations: 4 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.743e-06/0.1652, allocations: 8 kB / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.1652, allocations: 3.984 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.421e-06/0.1652, allocations: 3.953 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1652, allocations: 3.938 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.1655, allocations: 257.8 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.1656, allocations: 88.95 kB / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.1656, allocations: 7.984 kB / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.1657, allocations: 12 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.1658, allocations: 19.86 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1658, allocations: 12 kB / 0.9844 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.1659, allocations: 87.27 kB / 0.9845 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.33e-07/0.1659, allocations: 0 / 0.9845 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003707/0.1663, allocations: 35.94 kB / 0.9845 GB, free: 21.95 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * 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.0001601/0.1665, allocations: 108.9 kB / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003641/0.1668, allocations: 195.3 kB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.831e-06/0.1669, allocations: 0 / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.167, allocations: 71.92 kB / 0.9848 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.1673, allocations: 11.98 kB / 0.9849 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.1677, allocations: 203.7 kB / 0.9851 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.1678, allocations: 0.6965 MB / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.555e-05/0.1679, allocations: 4.562 kB / 0.9857 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.1679, allocations: 15.42 kB / 0.9858 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of SimCode: time 1.576e-06/0.1679, allocations: 4 kB / 0.9858 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.004616/0.1726, allocations: 1.449 MB / 0.9872 GB, free: 19.15 MB / 0.6198 GB