Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.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.TrueDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.382/5.382, allocations: 0.5623 GB / 0.5776 GB, free: 3.398 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.002543/0.002543, allocations: 352.6 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.471/4.471, allocations: 410.7 MB / 1.113 GB, free: 5.988 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.001903/0.001903, allocations: 183.8 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006821/0.0006824, allocations: 12 kB / 1.349 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.841/0.8417, 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.TrueDelay): time 0.001496/0.8433, allocations: 0.8403 MB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002513/0.8458, allocations: 1.569 MB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.846, allocations: 3.938 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.079e-05/0.8461, allocations: 12.69 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.8462, allocations: 51.55 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.8475, allocations: 366.1 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006337/0.8482, allocations: 0.6318 MB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.8484, allocations: 68.75 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.8488, allocations: 263.4 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003537/0.8491, allocations: 287.1 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.8492, allocations: 36 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.8494, allocations: 47.98 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.8496, allocations: 128.3 kB / 1.466 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.8498, allocations: 141.4 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.8504, allocations: 477.3 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.8504, allocations: 0.75 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8504, allocations: 0 / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.892e-06/0.8504, allocations: 0.9688 kB / 1.466 GB, free: 279.4 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.002294/0.8527, allocations: 0.7702 MB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.8528, allocations: 12.91 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.853, allocations: 71.55 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.8544, allocations: 404.5 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.769e-05/0.8545, allocations: 52.39 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.8546, allocations: 80.7 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.8557, allocations: 446 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.8557, allocations: 0.6562 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-05/0.8558, allocations: 23.95 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.8558, allocations: 13.75 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006505/0.8565, allocations: 232.4 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.8591, allocations: 1.017 MB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.8606, allocations: 0.6119 MB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006854/0.8613, allocations: 304.1 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.8613, allocations: 11.92 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001557/0.8629, allocations: 0.7369 MB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=102): time 4.188e-06/0.8629, allocations: 5.25 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=102): time 0.003511/0.8664, allocations: 1.496 MB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.8665, allocations: 89.98 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.8668, allocations: 269 kB / 1.473 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.867, allocations: 69.69 kB / 1.473 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.8671, allocations: 142.1 kB / 1.473 GB, free: 272.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.8673, allocations: 213.3 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-05/0.8674, allocations: 28 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.8675, allocations: 367.5 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006781/0.8682, allocations: 222.5 kB / 1.474 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.8695, allocations: 0.6724 MB / 1.474 GB, free: 270.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.8712, allocations: 361.6 kB / 1.475 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.688e-05/0.8713, allocations: 4 kB / 1.475 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004962/0.8763, allocations: 1.02 MB / 1.476 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.8765, allocations: 71.8 kB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.668e-05/0.8765, allocations: 19.95 kB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.368e-05/0.8766, allocations: 25.22 kB / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.878, allocations: 135.6 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.153e-05/0.8781, allocations: 27.92 kB / 1.476 GB, free: 269.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/0.8804, allocations: 174.5 kB / 1.476 GB, free: 268.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003658/0.8808, allocations: 67.98 kB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 136 ($PRE.onDelay0.u,$PRE.onDelay1.u,$PRE.onDelay2.u,$PRE.onDelay4.u,$PRE.onDelay5.u,$PRE.onDelay6.u,$PRE.onDelay3.u,$PRE.onDelay7.u,$PRE.onDelay00.u,$PRE.onDelay11.u,$PRE.onDelay22.u,$PRE.onDelay44.u,$PRE.onDelay55.u,$PRE.onDelay66.u,$PRE.onDelay33.u,$PRE.onDelay77.u,$whenCondition50,$PRE.onDelay0.t_next,$whenCondition47,$PRE.onDelay1.t_next,$whenCondition44,$PRE.onDelay2.t_next,$whenCondition41,$PRE.onDelay4.t_next,$whenCondition38,$PRE.onDelay5.t_next,$whenCondition35,$PRE.onDelay6.t_next,$whenCondition32,$PRE.onDelay3.t_next,$whenCondition29,$PRE.onDelay7.t_next,$whenCondition27,$whenCondition28,onDelay0.t_next,onDelay1.t_next,onDelay2.t_next,onDelay4.t_next,onDelay5.t_next,onDelay6.t_next,onDelay3.t_next,onDelay7.t_next,$whenCondition51,$whenCondition52,$whenCondition48,$whenCondition49,$whenCondition45,$whenCondition46,$whenCondition42,$whenCondition43,$whenCondition39,$whenCondition40,$whenCondition36,$whenCondition37,$whenCondition33,$whenCondition34,$whenCondition30,$whenCondition31,onDelay0.u,onDelay0.y,onDelay1.u,onDelay1.y,onDelay2.u,onDelay2.y,onDelay4.u,onDelay4.y,onDelay5.u,onDelay5.y,onDelay6.u,onDelay6.y,onDelay3.u,onDelay3.y,onDelay7.u,onDelay7.y,$PRE.booPul.y,booPul.y,$whenCondition24,$PRE.onDelay00.t_next,$whenCondition21,$PRE.onDelay11.t_next,$whenCondition18,$PRE.onDelay22.t_next,$whenCondition15,$PRE.onDelay44.t_next,$whenCondition12,$PRE.onDelay55.t_next,$whenCondition9,$PRE.onDelay66.t_next,$whenCondition6,$PRE.onDelay33.t_next,$whenCondition3,$PRE.onDelay77.t_next,$whenCondition1,$whenCondition2,onDelay00.t_next,onDelay11.t_next,onDelay11.y,onDelay22.t_next,onDelay22.y,onDelay44.t_next,$whenCondition25,$whenCondition26,$whenCondition22,$whenCondition23,$whenCondition19,$whenCondition20,$whenCondition16,$whenCondition17,$whenCondition13,$whenCondition14,$whenCondition10,$whenCondition11,$whenCondition7,$whenCondition8,$whenCondition4,$whenCondition5,onDelay00.u,onDelay00.y,onDelay11.u,onDelay22.u,onDelay44.u,onDelay44.y,onDelay55.u,onDelay66.u,onDelay33.u,onDelay77.u,$PRE.booPul1.y,booPul1.y,onDelay55.t_next,onDelay55.y,onDelay66.t_next,onDelay66.y,onDelay33.t_next,onDelay33.y,onDelay77.t_next,onDelay77.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 150 * 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.0008098/0.8816, allocations: 272.3 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.8819, allocations: 79.41 kB / 1.476 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.8821, allocations: 43.62 kB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.299e-05/0.8821, allocations: 11.92 kB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.8821, allocations: 0 / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.8823, allocations: 128.3 kB / 1.477 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.8825, allocations: 39.45 kB / 1.477 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007163/0.8833, allocations: 67.92 kB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/0.8835, allocations: 88.72 kB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002801/0.8863, allocations: 1.382 MB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002613/0.889, allocations: 1.439 MB / 1.48 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001043/0.8901, allocations: 0.5378 MB / 1.48 GB, free: 264.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001803/0.8903, allocations: 162.5 kB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of Backend: time 5.21e-07/0.8903, allocations: 1.594 kB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002113/0.8925, allocations: 0.7624 MB / 1.481 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001652/0.8942, allocations: 1.171 MB / 1.482 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01939/0.9136, allocations: 6.48 MB / 1.488 GB, free: 256.4 MB / 0.8542 GB