Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.TimerAccumulating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.653/2.653, allocations: 287.9 MB / 302.9 MB, free: 8.281 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.00141/0.00141, allocations: 183.2 kB / 371.4 MB, free: 10.7 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.347/2.347, allocations: 205.4 MB / 0.6301 GB, free: 10.36 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.001024, allocations: 93.89 kB / 0.7434 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.000463, allocations: 12.19 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1583, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating): time 0.0008242/0.1591, allocations: 0.5255 MB / 0.9793 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.1606, allocations: 1.282 MB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.1607, allocations: 0 / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.1608, allocations: 7.922 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.113e-05/0.1609, allocations: 31.89 kB / 0.9806 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007774/0.1616, allocations: 249.9 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.1619, allocations: 195.7 kB / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.162, allocations: 37.03 kB / 0.981 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1621, allocations: 127.7 kB / 0.9812 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1623, allocations: 127.6 kB / 0.9813 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.1623, allocations: 20 kB / 0.9813 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.329e-05/0.1624, allocations: 27.98 kB / 0.9813 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.1625, allocations: 63.8 kB / 0.9814 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.262e-05/0.1626, allocations: 73.64 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.1629, allocations: 235.6 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1629, allocations: 4 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.009e-06/0.1629, allocations: 0 / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.654e-06/0.1629, allocations: 0 / 0.9817 GB, free: 25.18 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007768/0.1637, allocations: 0.5421 MB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1637, allocations: 8.031 kB / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.1638, allocations: 39.78 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007791/0.1646, allocations: 308.6 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.647e-05/0.1647, allocations: 24.22 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-05/0.1648, allocations: 39.98 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.1653, allocations: 255.3 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1653, allocations: 0 / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.1654, allocations: 11.97 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.927e-06/0.1654, allocations: 4 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/0.1657, allocations: 120.6 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.1667, allocations: 0.6171 MB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.1674, allocations: 415.5 kB / 0.984 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.1675, allocations: 8 kB / 0.984 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006557/0.1681, allocations: 354.8 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 3.24e-06/0.1681, allocations: 4 kB / 0.9843 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.0013/0.1694, allocations: 0.6534 MB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.1695, allocations: 67.36 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1696, allocations: 145.9 kB / 0.9852 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.288e-05/0.1697, allocations: 49.7 kB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.1698, allocations: 109 kB / 0.9853 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/0.1699, allocations: 102.7 kB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.17, allocations: 20 kB / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.17, allocations: 334.8 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.1704, allocations: 141.1 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.1709, allocations: 292.7 kB / 0.9862 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.1712, allocations: 212.6 kB / 0.9864 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.194e-06/0.1713, allocations: 4 kB / 0.9864 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001078/0.1724, allocations: 0.5541 MB / 0.9869 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.814e-05/0.1724, allocations: 71.98 kB / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1724, allocations: 4 kB / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.1725, allocations: 15.94 kB / 0.987 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.1727, allocations: 47.84 kB / 0.9871 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.1727, allocations: 15.89 kB / 0.9871 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/0.1732, allocations: 115.6 kB / 0.9872 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/0.1733, allocations: 28 kB / 0.9872 GB, free: 19.16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition16,$whenCondition12,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y,con.y,$whenCondition4,noThr.reset,$whenCondition8,thrTim.reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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.0002207/0.1735, allocations: 190.9 kB / 0.9874 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.1736, allocations: 27.72 kB / 0.9874 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.703e-05/0.1737, allocations: 30.3 kB / 0.9875 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.548e-06/0.1737, allocations: 4 kB / 0.9875 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.334e-06/0.1737, allocations: 0 / 0.9875 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.573e-06/0.1737, allocations: 3.953 kB / 0.9875 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.1754, allocations: 1.003 MB / 0.9884 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.633e-06/0.1755, allocations: 7.938 kB / 0.9884 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.1756, allocations: 19.92 kB / 0.9885 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.1756, allocations: 3.953 kB / 0.9885 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.1756, allocations: 19.97 kB / 0.9885 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.567e-06/0.1756, allocations: 0 / 0.9885 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1757, allocations: 0 / 0.9885 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009309/0.1766, allocations: 0.6204 MB / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.1767, allocations: 96.77 kB / 0.9892 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-05/0.1768, allocations: 31.94 kB / 0.9892 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.177, allocations: 27.97 kB / 0.9892 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.1771, allocations: 43.92 kB / 0.9893 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/0.1772, allocations: 35.97 kB / 0.9893 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.246e-05/0.1773, allocations: 105.9 kB / 0.9894 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.64e-07/0.1773, allocations: 0 / 0.9894 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005698/0.1778, allocations: 95.98 kB / 0.9895 GB, free: 16.71 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: 40 (thrTimWitRes.u,noThrWitRes.u,thrTim.u,noThr.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y) * Number of discrete states: 16 (thrTim.entryTime,thrTim.yAcc,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002193/0.1781, allocations: 153.8 kB / 0.9897 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009896/0.1791, allocations: 0.5336 MB / 0.9902 GB, free: 16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.585e-06/0.1791, allocations: 1.188 kB / 0.9902 GB, free: 16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.1796, allocations: 304.1 kB / 0.9905 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.1799, allocations: 33.52 kB / 0.9905 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009217/0.1809, allocations: 486.4 kB / 0.991 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.181, allocations: 0.7373 MB / 0.9917 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.1812, allocations: 34.97 kB / 0.9917 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.16e-05/0.1813, allocations: 31.42 kB / 0.9917 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of SimCode: time 1.582e-06/0.1813, allocations: 3.938 kB / 0.9918 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.009069/0.1904, allocations: 3.719 MB / 0.9954 GB, free: 10.63 MB / 0.6198 GB