Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.722/2.722, allocations: 287.9 MB / 302.9 MB, free: 8.293 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.001414/0.001414, allocations: 183 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.145/2.145, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001029/0.001028, allocations: 96.47 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004675, allocations: 17.75 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1584, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.000856/0.1593, allocations: 0.5255 MB / 0.9793 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.1609, allocations: 1.29 MB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.161, allocations: 0 / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.161, allocations: 3.938 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.1611, allocations: 27.95 kB / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007758/0.1619, allocations: 250.3 kB / 0.9808 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.1621, allocations: 199.7 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1623, allocations: 29.05 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1624, allocations: 131.8 kB / 0.9812 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.1626, allocations: 123.6 kB / 0.9813 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.519e-05/0.1626, allocations: 27.92 kB / 0.9813 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.414e-05/0.1627, allocations: 27.98 kB / 0.9813 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.1628, allocations: 55.88 kB / 0.9814 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.577e-05/0.1629, allocations: 77.62 kB / 0.9815 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1632, allocations: 235.6 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1632, allocations: 4 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.957e-06/0.1632, allocations: 0 / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.1632, allocations: 0 / 0.9817 GB, free: 25.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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007968/0.164, allocations: 0.5421 MB / 0.9822 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1641, allocations: 12.02 kB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.411e-05/0.1642, allocations: 27.81 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008612/0.165, allocations: 314.6 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.1651, allocations: 32.16 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.594e-05/0.1652, allocations: 43.97 kB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.1657, allocations: 255.3 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1657, allocations: 0 / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.1658, allocations: 7.984 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1658, allocations: 0 / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.1661, allocations: 128.6 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.1672, allocations: 0.6093 MB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006385/0.1678, allocations: 423.6 kB / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.1678, allocations: 0 / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000649/0.1685, allocations: 350.8 kB / 0.9843 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 3.441e-06/0.1685, allocations: 3.938 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.001298/0.1698, allocations: 0.6573 MB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.1699, allocations: 75.41 kB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.17, allocations: 147.2 kB / 0.9852 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.995e-05/0.1701, allocations: 49.7 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.1702, allocations: 109 kB / 0.9853 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/0.1703, allocations: 98.7 kB / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.1703, allocations: 20 kB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.1704, allocations: 330.8 kB / 0.9858 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.1708, allocations: 141.1 kB / 0.9859 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.1712, allocations: 296.6 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.1716, allocations: 212.6 kB / 0.9864 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1716, allocations: 4 kB / 0.9864 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001083/0.1727, allocations: 0.5619 MB / 0.9869 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.49e-05/0.1728, allocations: 73.55 kB / 0.987 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1728, allocations: 8 kB / 0.987 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.1728, allocations: 8 kB / 0.987 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.173, allocations: 43.86 kB / 0.9871 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.173, allocations: 19.88 kB / 0.9871 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005668/0.1736, allocations: 111.6 kB / 0.9872 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-05/0.1737, allocations: 31.98 kB / 0.9872 GB, free: 19.14 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.0002317/0.1739, allocations: 186.9 kB / 0.9874 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.174, allocations: 31.7 kB / 0.9874 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.1741, allocations: 22.31 kB / 0.9875 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.294e-06/0.1741, allocations: 8 kB / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.898e-06/0.1741, allocations: 0 / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.847e-06/0.1741, allocations: 7.938 kB / 0.9875 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.1759, allocations: 1.003 MB / 0.9884 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1759, allocations: 0 / 0.9884 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.103e-05/0.176, allocations: 19.94 kB / 0.9885 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.176, allocations: 3.953 kB / 0.9885 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.878e-05/0.1761, allocations: 23.91 kB / 0.9885 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.145e-06/0.1761, allocations: 0 / 0.9885 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.1761, allocations: 0 / 0.9885 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009389/0.177, allocations: 0.6166 MB / 0.9891 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.1771, allocations: 96.77 kB / 0.9892 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.899e-05/0.1772, allocations: 31.92 kB / 0.9892 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.1775, allocations: 31.97 kB / 0.9892 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1776, allocations: 47.86 kB / 0.9893 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.1777, allocations: 36.03 kB / 0.9893 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.1777, allocations: 104.8 kB / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.75e-07/0.1777, allocations: 0 / 0.9894 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005667/0.1783, allocations: 99.97 kB / 0.9895 GB, free: 16.69 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.0002094/0.1785, allocations: 149.8 kB / 0.9897 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009312/0.1795, allocations: 0.5412 MB / 0.9902 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.882e-06/0.1795, allocations: 1.188 kB / 0.9902 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000416/0.1799, allocations: 292.1 kB / 0.9905 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1803, allocations: 39.91 kB / 0.9905 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009052/0.1812, allocations: 490.3 kB / 0.991 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.1814, allocations: 0.7374 MB / 0.9917 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000133/0.1815, allocations: 34.97 kB / 0.9917 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.953e-05/0.1816, allocations: 31.42 kB / 0.9918 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of SimCode: time 1.535e-06/0.1816, allocations: 0 / 0.9918 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of Templates: time 0.009895/0.1915, allocations: 3.717 MB / 0.9954 GB, free: 10.64 MB / 0.6198 GB