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.262/5.262, allocations: 0.5623 GB / 0.5776 GB, free: 3.371 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.002452/0.002451, allocations: 352.4 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.61/4.61, allocations: 410.7 MB / 1.113 GB, free: 6.047 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.002229/0.002229, allocations: 189.3 kB / 1.226 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005254/0.0005256, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7707/0.7712, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime): time 0.00139/0.7727, allocations: 0.5265 MB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002629/0.7753, allocations: 1.281 MB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.7755, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.7756, allocations: 15.81 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.7757, allocations: 21.02 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.777, allocations: 249.7 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.7775, allocations: 319.4 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.7777, allocations: 24.05 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.7779, allocations: 123.8 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.7782, allocations: 131.6 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.818e-05/0.7783, allocations: 22.69 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.7785, allocations: 27.98 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.383e-05/0.7786, allocations: 51.88 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.7787, allocations: 77.58 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.7792, allocations: 241.5 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.7792, allocations: 0 / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.517e-06/0.7792, allocations: 4.797 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.7792, allocations: 0 / 1.464 GB, free: 281.3 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.001402/0.7806, allocations: 0.5353 MB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.7807, allocations: 15.61 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.7809, allocations: 31.75 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.7825, allocations: 301.7 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.391e-05/0.7826, allocations: 28.91 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.7827, allocations: 35.98 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008278/0.7836, allocations: 267.6 kB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.7836, allocations: 0.9844 kB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.7837, allocations: 8.734 kB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.7837, allocations: 0 / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004774/0.7842, allocations: 130.1 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.7858, allocations: 0.6076 MB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.7869, allocations: 419.8 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004952/0.7874, allocations: 176.8 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.7874, allocations: 0 / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.7885, allocations: 351.7 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=44): time 4.117e-06/0.7885, allocations: 4 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44): time 0.002108/0.7906, allocations: 0.6671 MB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.7907, allocations: 63.34 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.7909, allocations: 151 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.7911, allocations: 53.69 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.7912, allocations: 105.6 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.7913, allocations: 102.8 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/0.7914, allocations: 13.31 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.7915, allocations: 342.8 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.7921, allocations: 137.1 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006924/0.7928, allocations: 298.4 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/0.7934, allocations: 213.1 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-06/0.7934, allocations: 0 / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001709/0.7952, allocations: 0.5675 MB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.926e-05/0.7953, allocations: 64.44 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.7953, allocations: 4 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-05/0.7953, allocations: 8 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.7957, allocations: 44.47 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/0.7957, allocations: 17.14 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.7968, allocations: 124.3 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.984e-05/0.7969, allocations: 27.98 kB / 1.47 GB, free: 275.1 MB / 0.8542 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.0003384/0.7972, allocations: 173.8 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.255e-05/0.7973, allocations: 35.7 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.038e-05/0.7974, allocations: 23.16 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.7975, allocations: 2.219 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.7975, allocations: 4.734 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.7976, allocations: 100.8 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.7977, allocations: 24.05 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.7981, allocations: 33.91 kB / 1.47 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.7983, allocations: 43.88 kB / 1.471 GB, free: 274.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00167/0.7999, allocations: 0.6304 MB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001547/0.8015, allocations: 0.7329 MB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006405/0.8022, allocations: 276.2 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9e-05/0.8023, allocations: 103.2 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of Backend: time 1.042e-06/0.8023, allocations: 1.375 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.804, allocations: 0.4964 MB / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001126/0.8052, allocations: 0.788 MB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.0138/0.819, allocations: 3.785 MB / 1.477 GB, free: 268.1 MB / 0.8542 GB