Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.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.TrueHoldWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.053/5.053, allocations: 0.5623 GB / 0.5776 GB, free: 3.344 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.003352/0.003352, allocations: 356.5 kB / 0.6446 GB, free: 185.7 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.569/4.569, allocations: 410.7 MB / 1.113 GB, free: 6.051 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.001969/0.001968, allocations: 195.7 kB / 1.226 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005081/0.0005084, allocations: 16 kB / 1.349 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7474/0.748, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset): time 0.003489/0.7515, allocations: 2.482 MB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003569/0.7551, allocations: 1.638 MB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005191/0.7557, allocations: 20.47 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002348/0.756, allocations: 87.19 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.7563, allocations: 68.8 kB / 1.466 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.759, allocations: 0.7243 MB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001991/0.7611, allocations: 1.365 MB / 1.468 GB, free: 278 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.7622, allocations: 0.6725 MB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005762/0.7628, allocations: 398.7 kB / 1.469 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005069/0.7634, allocations: 422.9 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.7635, allocations: 60 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.7638, allocations: 83.97 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.764, allocations: 188.2 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.7643, allocations: 201.8 kB / 1.47 GB, free: 276 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.7658, allocations: 1.238 MB / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7658, allocations: 1.719 kB / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7658, allocations: 0 / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.49e-05/0.7658, allocations: 0 / 1.471 GB, free: 274.8 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002341/0.7682, allocations: 1.105 MB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.7683, allocations: 11.62 kB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.7686, allocations: 122.8 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.7696, allocations: 0.5536 MB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.7698, allocations: 112.8 kB / 1.473 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/0.7701, allocations: 136 kB / 1.473 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/0.7727, allocations: 1.187 MB / 1.474 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.267e-05/0.7728, allocations: 7.938 kB / 1.474 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.7729, allocations: 43.98 kB / 1.474 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.7729, allocations: 28.91 kB / 1.474 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.775, allocations: 0.7218 MB / 1.475 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006601/0.7816, allocations: 5.125 MB / 1.48 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.7834, allocations: 0.6502 MB / 1.48 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008212/0.7843, allocations: 347.3 kB / 1.481 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.476e-05/0.7843, allocations: 12.58 kB / 1.481 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.7856, allocations: 0.5566 MB / 1.481 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=92): time 3.918e-06/0.7856, allocations: 0 / 1.481 GB, free: 263.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=92): time 0.002938/0.7886, allocations: 1.057 MB / 1.482 GB, free: 262.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.7887, allocations: 157.6 kB / 1.482 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006383/0.7893, allocations: 481 kB / 1.483 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002193/0.7896, allocations: 81.69 kB / 1.483 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.7899, allocations: 401.1 kB / 1.483 GB, free: 261.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.7901, allocations: 225.2 kB / 1.484 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.7903, allocations: 36.94 kB / 1.484 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.7904, allocations: 381.1 kB / 1.484 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.7916, allocations: 375.8 kB / 1.484 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.7929, allocations: 0.8441 MB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.7942, allocations: 0.5298 MB / 1.486 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.7942, allocations: 7.953 kB / 1.486 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003568/0.7978, allocations: 1.43 MB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-05/0.7979, allocations: 138.8 kB / 1.487 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.798, allocations: 12 kB / 1.487 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.175e-05/0.798, allocations: 28 kB / 1.487 GB, free: 257.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008367/0.7989, allocations: 148.3 kB / 1.487 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.598e-05/0.7989, allocations: 31.86 kB / 1.487 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.8008, allocations: 271.2 kB / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/0.8011, allocations: 83.97 kB / 1.488 GB, free: 256.7 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: 132 ($PRE.truHol.onDelay.u,$PRE.truHol.toOutputTrue.enableFire,$PRE.truHol.toInitial.enableFire,$PRE.truHol1.onDelay.u,$PRE.truHol1.toOutputTrue.enableFire,$PRE.truHol1.toInitial.enableFire,$PRE.truHol2.onDelay.u,$PRE.truHol2.toOutputTrue.enableFire,$PRE.truHol2.toInitial.enableFire,$PRE.truHol3.onDelay.u,$PRE.truHol3.toOutputTrue.enableFire,$PRE.truHol3.toInitial.enableFire,$whenCondition18,$PRE.truHol.onDelay.t_next,$whenCondition16,$whenCondition17,$whenCondition19,$whenCondition20,$PRE.booPul.y,booPul.y,truHol.stateGraphRoot.activeSteps,truHol.onDelay.u,truHol.onDelay.y,truHol.initialStep.active,$PRE.truHol.initialStep.localActive,truHol.initialStep.localActive,$PRE.truHol.initialStep.newActive,truHol.initialStep.newActive,$PRE.truHol.initialStep.oldActive,truHol.initialStep.oldActive,$PRE.truHol.outputTrue.localActive,truHol.outputTrue.localActive,$PRE.truHol.outputTrue.newActive,truHol.outputTrue.newActive,$PRE.truHol.outputTrue.oldActive,truHol.outputTrue.oldActive,truHol.outputTrue.active,truHol.toOutputTrue.enableFire,truHol.toInitial.enableFire,truHol.onDelay.t_next,$whenCondition13,$PRE.truHol1.onDelay.t_next,$whenCondition11,$whenCondition12,$whenCondition14,$whenCondition15,$PRE.booPul1.y,booPul1.y,truHol1.stateGraphRoot.activeSteps,truHol1.onDelay.u,truHol1.onDelay.y,truHol1.initialStep.active,$PRE.truHol1.initialStep.localActive,truHol1.initialStep.localActive,$PRE.truHol1.initialStep.newActive,truHol1.initialStep.newActive,$PRE.truHol1.initialStep.oldActive,truHol1.initialStep.oldActive,$PRE.truHol1.outputTrue.localActive,truHol1.outputTrue.localActive,$PRE.truHol1.outputTrue.newActive,truHol1.outputTrue.newActive,$PRE.truHol1.outputTrue.oldActive,truHol1.outputTrue.oldActive,truHol1.outputTrue.active,truHol1.toOutputTrue.enableFire,truHol1.toInitial.enableFire,truHol1.onDelay.t_next,$whenCondition8,$PRE.truHol2.onDelay.t_next,$whenCondition6,$whenCondition7,$whenCondition9,$whenCondition10,$PRE.booPul2.y,booPul2.y,truHol2.stateGraphRoot.activeSteps,truHol2.onDelay.u,truHol2.onDelay.y,truHol2.initialStep.active,$PRE.truHol2.initialStep.localActive,truHol2.initialStep.localActive,$PRE.truHol2.initialStep.newActive,truHol2.initialStep.newActive,$PRE.truHol2.initialStep.oldActive,truHol2.initialStep.oldActive,$PRE.truHol2.outputTrue.localActive,truHol2.outputTrue.localActive,$PRE.truHol2.outputTrue.newActive,truHol2.outputTrue.newActive,$PRE.truHol2.outputTrue.oldActive,truHol2.outputTrue.oldActive,truHol2.outputTrue.active,truHol2.toOutputTrue.enableFire,truHol2.toInitial.enableFire,truHol2.onDelay.t_next,$whenCondition3,$PRE.truHol3.onDelay.t_next,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5,$PRE.booPul3.y,booPul3.y,truHol3.stateGraphRoot.activeSteps,truHol3.onDelay.u,truHol3.onDelay.y,truHol3.initialStep.active,$PRE.truHol3.initialStep.localActive,truHol3.initialStep.localActive,$PRE.truHol3.initialStep.newActive,truHol3.initialStep.newActive,$PRE.truHol3.initialStep.oldActive,truHol3.initialStep.oldActive,$PRE.truHol3.outputTrue.localActive,truHol3.outputTrue.localActive,$PRE.truHol3.outputTrue.newActive,truHol3.outputTrue.newActive,$PRE.truHol3.outputTrue.oldActive,truHol3.outputTrue.oldActive,truHol3.outputTrue.active,truHol3.toOutputTrue.enableFire,truHol3.toInitial.enableFire,truHol3.onDelay.t_next,truHol.stateGraphRoot.resume,truHol.stateGraphRoot.suspend,truHol1.stateGraphRoot.resume,truHol1.stateGraphRoot.suspend,truHol2.stateGraphRoot.resume,truHol2.stateGraphRoot.suspend,truHol3.stateGraphRoot.resume,truHol3.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 172 * Array equations: 0 * Algorithm blocks: 4 * 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.0007572/0.8019, allocations: 378.9 kB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.802, allocations: 75.19 kB / 1.488 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.8044, allocations: 0.8865 MB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/0.8044, allocations: 3.984 kB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.8044, allocations: 2.062 kB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.8046, allocations: 140.1 kB / 1.489 GB, free: 255.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.8048, allocations: 35.97 kB / 1.489 GB, free: 255.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.8051, allocations: 19.98 kB / 1.489 GB, free: 255.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/0.8054, allocations: 110.5 kB / 1.489 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002329/0.8078, allocations: 1.176 MB / 1.49 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002091/0.8099, allocations: 1.246 MB / 1.492 GB, free: 252.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008967/0.8108, allocations: 414 kB / 1.492 GB, free: 252.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003431/0.8112, allocations: 239.7 kB / 1.492 GB, free: 252 MB / 0.8542 GB Notification: Performance of Backend: time 8.32e-07/0.8112, allocations: 2.281 kB / 1.492 GB, free: 252 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003039/0.8143, allocations: 1.074 MB / 1.493 GB, free: 250.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.003013/0.8173, allocations: 1.852 MB / 1.495 GB, free: 249 MB / 0.8542 GB Notification: Performance of Templates: time 0.02732/0.8447, allocations: 9.827 MB / 1.505 GB, free: 239.6 MB / 0.8542 GB