Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.952/4.952, allocations: 0.5623 GB / 0.5776 GB, free: 3.309 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.002601/0.002601, allocations: 363 kB / 0.6447 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.412/4.412, allocations: 410.7 MB / 1.113 GB, free: 6.066 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.001848/0.001848, allocations: 195.6 kB / 1.226 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006664/0.0006667, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7463/0.747, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002078/0.7491, allocations: 1.438 MB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.7507, allocations: 0.6902 MB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.7509, allocations: 4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.7509, allocations: 15.8 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.7511, allocations: 27.77 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.7524, allocations: 348 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.7528, allocations: 363.1 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.753, allocations: 42.84 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.7532, allocations: 143.6 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.7534, allocations: 128.7 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.594e-05/0.7535, allocations: 20 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.7536, allocations: 27.98 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.7537, allocations: 41.36 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.7538, allocations: 80.06 kB / 1.465 GB, free: 281 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.7542, allocations: 273.4 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7542, allocations: 4.531 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7542, allocations: 0.75 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.7542, allocations: 3.938 kB / 1.465 GB, free: 280.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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008852/0.7551, allocations: 0.556 MB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.7551, allocations: 11.62 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.7553, allocations: 31.72 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.7565, allocations: 308.9 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/0.7565, allocations: 29.38 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-05/0.7566, allocations: 32 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.7571, allocations: 180.1 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.7571, allocations: 1.219 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.7571, allocations: 15.97 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.7572, allocations: 4 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.7575, allocations: 110.8 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.7588, allocations: 0.5992 MB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.7592, allocations: 196.1 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.7594, allocations: 80.83 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.7594, allocations: 7.938 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005456/0.76, allocations: 247.1 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 3.256e-06/0.76, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36): time 0.001034/0.761, allocations: 418.9 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.7611, allocations: 64.14 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.7613, allocations: 189.8 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-05/0.7614, allocations: 49.7 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.7615, allocations: 136.8 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.703e-05/0.7616, allocations: 82.95 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.7617, allocations: 16.69 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.349e-05/0.7618, allocations: 335.7 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/0.7622, allocations: 149 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/0.7628, allocations: 263.9 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/0.7633, allocations: 241.4 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.7633, allocations: 0 / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001306/0.7646, allocations: 0.589 MB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.59e-05/0.7647, allocations: 93.09 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.7647, allocations: 4 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.7647, allocations: 9.25 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.765, allocations: 47.81 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.765, allocations: 8 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009388/0.766, allocations: 130.5 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/0.7661, allocations: 31.98 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition3,$PRE.booPul1.y,booPul1.y,$whenCondition9,$PRE.pre.u,pre.y,con.y,$whenCondition8,$whenCondition7,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0002698/0.7663, allocations: 181.7 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.7664, allocations: 27.7 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.14e-05/0.7665, allocations: 23.47 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.7665, allocations: 9.297 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7665, allocations: 1.828 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.7666, allocations: 100.8 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/0.7666, allocations: 11.98 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.7668, allocations: 13.33 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/0.7669, allocations: 19.97 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007087/0.7676, allocations: 405.8 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006691/0.7683, allocations: 0.4921 MB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002419/0.7685, allocations: 127.9 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001017/0.7687, allocations: 122.9 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of Backend: time 8.62e-07/0.7687, allocations: 0 / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.7699, allocations: 0.5411 MB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001034/0.771, allocations: 0.851 MB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.01069/0.7817, allocations: 3.577 MB / 1.476 GB, free: 268.9 MB / 0.8542 GB