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 5.113/5.113, allocations: 0.5623 GB / 0.5775 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002483/0.002483, allocations: 358.4 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.179/4.179, allocations: 410.7 MB / 1.113 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001865/0.001865, allocations: 183.6 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006501/0.0006508, allocations: 12 kB / 1.349 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7372/0.7379, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.941, allocations: 138.4 MB / 1.597 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.9413, allocations: 71.97 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01766/0.959, allocations: 4.006 MB / 1.601 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.264e-06/0.959, allocations: 0 / 1.601 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.959, allocations: 4 kB / 1.601 GB, free: 141.7 MB / 0.8542 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.001045/0.9601, allocations: 0.5381 MB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.9601, allocations: 13.28 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.9603, allocations: 39.75 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.552e-05/0.9604, allocations: 174.9 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/0.9604, allocations: 24.2 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.9605, allocations: 41.91 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005966/0.9612, allocations: 259.5 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.9612, allocations: 0 / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.9612, allocations: 16.72 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.9613, allocations: 0 / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.9616, allocations: 125.9 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.9627, allocations: 0.5889 MB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007577/0.9635, allocations: 426.5 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.9639, allocations: 208.8 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.964, allocations: 0 / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007677/0.9647, allocations: 378.4 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=46): time 3.717e-06/0.9648, allocations: 5.906 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=46): time 0.001542/0.9663, allocations: 0.673 MB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.9664, allocations: 76.22 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.9665, allocations: 138 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.74e-05/0.9666, allocations: 54.19 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.9667, allocations: 97.92 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.761e-05/0.9668, allocations: 106.7 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.9668, allocations: 13.94 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.618e-05/0.9669, allocations: 342.8 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.9674, allocations: 145.1 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/0.9679, allocations: 299.6 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/0.9683, allocations: 215.8 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.9683, allocations: 0 / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001248/0.9696, allocations: 0.5688 MB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/0.9697, allocations: 72.98 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.9697, allocations: 7.953 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.9697, allocations: 8 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.97, allocations: 47.84 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.97, allocations: 4 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007719/0.9708, allocations: 113.1 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.477e-05/0.9709, allocations: 31.98 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($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.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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.0002183/0.9711, allocations: 184 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.9712, allocations: 27.8 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.411e-05/0.9712, allocations: 22.31 kB / 1.606 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.9713, allocations: 7.953 kB / 1.606 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.9713, allocations: 4.938 kB / 1.606 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.9713, allocations: 3.984 kB / 1.606 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.9733, allocations: 1.06 MB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.9733, allocations: 4.062 kB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.9735, allocations: 17.16 kB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.9735, allocations: 7.984 kB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.9735, allocations: 19.92 kB / 1.608 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.9736, allocations: 1.062 kB / 1.608 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.9736, allocations: 0 / 1.608 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.9747, allocations: 0.6559 MB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.9747, allocations: 93.33 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-05/0.9748, allocations: 24.73 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.9752, allocations: 39.2 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.9753, allocations: 43.92 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-05/0.9754, allocations: 35.97 kB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.788e-05/0.9755, allocations: 102.8 kB / 1.608 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9755, allocations: 0 / 1.608 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005517/0.976, allocations: 108 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * 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.0002564/0.9763, allocations: 169.4 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.9774, allocations: 0.5471 MB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9774, allocations: 3.156 kB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005386/0.9779, allocations: 308.8 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.9784, allocations: 54.03 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.9795, allocations: 0.4917 MB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.9797, allocations: 0.7432 MB / 1.611 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.9798, allocations: 32.91 kB / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.9799, allocations: 31.44 kB / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of SimCode: time 9.12e-07/0.9799, allocations: 0 / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.01021/0.9902, allocations: 3.846 MB / 1.615 GB, free: 127.1 MB / 0.8542 GB