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 5.02/5.02, allocations: 0.5623 GB / 0.5775 GB, free: 3.348 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.002558/0.002557, allocations: 355.1 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.153/4.153, allocations: 410.7 MB / 1.113 GB, free: 5.938 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.001863/0.001863, allocations: 179.6 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004999, allocations: 12 kB / 1.349 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7349/0.7354, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.9387, allocations: 138.4 MB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.9391, allocations: 71.97 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01793/0.957, allocations: 3.998 MB / 1.601 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9571, allocations: 1.812 kB / 1.601 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.9571, 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.001032/0.9582, allocations: 0.5339 MB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.9582, allocations: 14.38 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.9583, allocations: 31.77 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.9584, allocations: 182.9 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.9585, allocations: 28.22 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.9586, allocations: 37.02 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000628/0.9593, allocations: 262.6 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.9593, allocations: 1.281 kB / 1.602 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.9593, allocations: 11.98 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.9594, allocations: 4 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003543/0.9597, allocations: 128.6 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.9608, allocations: 0.5862 MB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007054/0.9616, allocations: 431.7 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004036/0.962, allocations: 204.8 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.962, allocations: 7.938 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000776/0.9628, allocations: 372.3 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=46): time 4.167e-06/0.9628, allocations: 0 / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=46): time 0.001572/0.9644, allocations: 0.6817 MB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.9645, allocations: 71.14 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.9646, allocations: 146.5 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.754e-05/0.9647, allocations: 53.7 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.9648, allocations: 98.69 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.9649, allocations: 102.8 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.965, allocations: 16 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/0.9651, allocations: 335.7 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.9655, allocations: 149.1 kB / 1.605 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.966, allocations: 295.9 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004495/0.9665, allocations: 213.5 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.9665, allocations: 4 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001283/0.9678, allocations: 0.5765 MB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/0.9679, allocations: 67.39 kB / 1.606 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.9679, allocations: 7.953 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/0.9679, allocations: 9.453 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.9682, allocations: 43.86 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.9682, allocations: 8.938 kB / 1.606 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007964/0.969, allocations: 112.3 kB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.759e-05/0.9691, allocations: 32.7 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.0002777/0.9694, allocations: 182.1 kB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.9695, allocations: 27.81 kB / 1.606 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.018e-05/0.9696, allocations: 31.58 kB / 1.606 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.9696, allocations: 7.953 kB / 1.606 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.9696, allocations: 0 / 1.606 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.9696, allocations: 0 / 1.606 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.9717, allocations: 1.056 MB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.9718, allocations: 0.5312 kB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.9719, allocations: 19.92 kB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.9719, allocations: 7.562 kB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.972, allocations: 27.91 kB / 1.607 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.972, allocations: 4 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.972, allocations: 0 / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.9731, allocations: 0.6462 MB / 1.608 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.9732, allocations: 100.3 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.885e-05/0.9733, allocations: 23.97 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.9736, allocations: 31.97 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.9738, allocations: 45.27 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/0.9738, allocations: 35.97 kB / 1.608 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.232e-05/0.9739, allocations: 99.27 kB / 1.608 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9739, allocations: 2.594 kB / 1.608 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006203/0.9745, allocations: 112 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.0002624/0.9748, allocations: 159.8 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.9759, allocations: 0.55 MB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.976, allocations: 1.219 kB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000524/0.9765, 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.0005206/0.977, allocations: 48.94 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.9781, allocations: 0.5 MB / 1.61 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.9783, allocations: 0.7398 MB / 1.611 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001367/0.9785, allocations: 32.38 kB / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.9786, allocations: 31.42 kB / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.182e-06/0.9786, allocations: 0 / 1.611 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.01074/0.9894, allocations: 3.852 MB / 1.615 GB, free: 127.1 MB / 0.8542 GB