Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.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.Utilities.Validation.OptimalStartHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.157/5.157, 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.002501/0.002501, allocations: 361.2 kB / 0.6447 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.758/4.758, allocations: 410.7 MB / 1.113 GB, free: 5.996 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.001839/0.001839, allocations: 188.7 kB / 1.226 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005244/0.0005247, allocations: 16 kB / 1.349 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7514/0.7519, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.006477/0.7585, allocations: 4.543 MB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00594/0.7645, allocations: 2.391 MB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.7659, allocations: 35.81 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005287/0.7665, allocations: 135.1 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.7676, allocations: 174.9 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.7702, allocations: 0.6333 MB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002072/0.7723, allocations: 1.27 MB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.7738, allocations: 0.7873 MB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000461/0.7743, allocations: 310.5 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005045/0.7748, allocations: 361.8 kB / 1.472 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.775, allocations: 36.5 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.7754, allocations: 132.3 kB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.7756, allocations: 175.2 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.7758, allocations: 219.2 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.7775, allocations: 1.492 MB / 1.474 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.7775, allocations: 0 / 1.474 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7776, allocations: 0 / 1.474 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.668e-05/0.7776, allocations: 0 / 1.474 GB, free: 271.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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.003387/0.781, allocations: 1.209 MB / 1.475 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.7811, allocations: 14.25 kB / 1.475 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003387/0.7814, allocations: 126.5 kB / 1.475 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.7829, allocations: 0.7031 MB / 1.476 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.7831, allocations: 93.98 kB / 1.476 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.7833, allocations: 112 kB / 1.476 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.7861, allocations: 1.091 MB / 1.477 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.7862, allocations: 0 / 1.477 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.7863, allocations: 48.98 kB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.7864, allocations: 24 kB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.7886, allocations: 0.7413 MB / 1.478 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007355/0.796, allocations: 3.886 MB / 1.482 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/0.7994, allocations: 1.108 MB / 1.483 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.8005, allocations: 401.7 kB / 1.483 GB, free: 262 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-05/0.8006, allocations: 10.38 kB / 1.483 GB, free: 262 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001437/0.802, allocations: 0.5947 MB / 1.484 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=103): time 5.21e-06/0.802, allocations: 7.156 kB / 1.484 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=103): time 0.003443/0.8055, allocations: 1.238 MB / 1.485 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.8056, allocations: 106.5 kB / 1.485 GB, free: 260 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009205/0.8066, allocations: 0.5742 MB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.8068, allocations: 85.69 kB / 1.486 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.8072, allocations: 430.1 kB / 1.486 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.8075, allocations: 288.2 kB / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/0.8076, allocations: 20 kB / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8078, allocations: 398.7 kB / 1.487 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.8088, allocations: 360.1 kB / 1.487 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.8101, allocations: 0.6429 MB / 1.488 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.8112, allocations: 394 kB / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.086e-06/0.8112, allocations: 0 / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002723/0.8139, allocations: 1.096 MB / 1.489 GB, free: 255.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.8141, allocations: 291.4 kB / 1.489 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.821e-05/0.8142, allocations: 8 kB / 1.489 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.754e-05/0.8142, allocations: 15.95 kB / 1.489 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.8154, allocations: 161.8 kB / 1.49 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.578e-05/0.8154, allocations: 19.92 kB / 1.49 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009453/0.8164, allocations: 146.2 kB / 1.49 GB, free: 255 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.8165, allocations: 48 kB / 1.49 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.8165, allocations: 4 kB / 1.49 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002394/0.8189, allocations: 0.9651 MB / 1.491 GB, free: 254 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.819, allocations: 12.86 kB / 1.491 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.819, allocations: 12 kB / 1.491 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009864/0.82, allocations: 160.5 kB / 1.491 GB, free: 253.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/0.82, allocations: 12 kB / 1.491 GB, free: 253.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000899/0.8209, allocations: 130.8 kB / 1.491 GB, free: 253.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.8211, allocations: 48 kB / 1.491 GB, free: 253.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 106 ($PRE.optStaHea.optHea.truHol.onDelay.u,$PRE.optStaHea.optHea.truHol.toOutputTrue.enableFire,$PRE.optStaHea.optHea.truHol.toInitial.enableFire,$PRE.optStaHea.optHea.lat.y,$PRE.optStaHea.optHea.tim.passed,optStaHea.optHea.tim.passed,$whenCondition12,$PRE.optStaHea.optHea.truHol.onDelay.t_next,optStaHea.optHea.truHol.onDelay.t_next,$whenCondition16,optStaHea.optHea.samTemSloAve.y,$PRE.optStaHea.optHea.samTemSloAve.iSample,optStaHea.optHea.samTemSloAve.iSample,$PRE.optStaHea.optHea.samTemSloAve.counter,optStaHea.optHea.samTemSloAve.counter,optStaHea.optHea.samTemSloAve.index,$PRE.optStaHea.optHea.samTemSloAve.ySample[1],optStaHea.optHea.samTemSloAve.ySample[1],$PRE.optStaHea.optHea.samTemSloAve.ySample[2],optStaHea.optHea.samTemSloAve.ySample[2],$PRE.optStaHea.optHea.samTemSloAve.ySample[3],optStaHea.optHea.samTemSloAve.ySample[3],$PRE.optStaHea.optHea.dTCalOn.y,optStaHea.optHea.dTCalOn.y,$PRE.optStaHea.optHea.dTHVACOn.y,optStaHea.optHea.dTHVACOn.y,$PRE.optStaHea.optHea.triSam.y,optStaHea.optHea.triSam.y,$PRE.optStaHea.optHea.triSam1.y,optStaHea.optHea.triSam1.y,optStaHea.optHea.reqStaUp.y,optStaHea.optHea.triAve.u2,optStaHea.optHea.triAve.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition1,optStaHea.optHea.staCal,$PRE.optStaHea.optHea.edg.u,optStaHea.optHea.edg.u,optStaHea.optHea.edg.y,optStaHea.optHea.falEdg.y,$PRE.optStaHea.optHea.falEdg.not_u,optStaHea.optHea.falEdg.not_u,$PRE.optStaHea.optHea.hys.y,optStaHea.optHea.hys.y,$PRE.optStaHea.optHea.hysOpt.y,optStaHea.optHea.hysOpt.y,optStaHea.optHea.truHol.stateGraphRoot.activeSteps,optStaHea.optHea.truHol.onDelay.u,optStaHea.optHea.truHol.onDelay.y,optStaHea.optHea.truHol.initialStep.active,$PRE.optStaHea.optHea.truHol.initialStep.localActive,optStaHea.optHea.truHol.initialStep.localActive,$PRE.optStaHea.optHea.truHol.initialStep.newActive,optStaHea.optHea.truHol.initialStep.newActive,$PRE.optStaHea.optHea.truHol.initialStep.oldActive,optStaHea.optHea.truHol.initialStep.oldActive,$PRE.optStaHea.optHea.truHol.outputTrue.localActive,optStaHea.optHea.truHol.outputTrue.localActive,$PRE.optStaHea.optHea.truHol.outputTrue.newActive,optStaHea.optHea.truHol.outputTrue.newActive,$PRE.optStaHea.optHea.truHol.outputTrue.oldActive,optStaHea.optHea.truHol.outputTrue.oldActive,optStaHea.optHea.truHol.outputTrue.active,optStaHea.optHea.truHol.toOutputTrue.enableFire,optStaHea.optHea.truHol.toInitial.enableFire,$PRE.optStaHea.optHea.pre.u,optStaHea.optHea.pre.u,$PRE.optStaHea.optHea.lat.u,optStaHea.optHea.lat.u,$PRE.optStaHea.optHea.lat.clr,optStaHea.optHea.lat.clr,optStaHea.optHea.lat.y,$PRE.optStaHea.optHea.tim.entryTime,optStaHea.optHea.tim.entryTime,$PRE.optStaHea.optHea.samTimOpt.y,optStaHea.optHea.samTimOpt.y,optStaHea.optHea.greThr.y,$PRE.optStaHea.hysSta.greHys.y,optStaHea.hysSta.greHys.y,$PRE.optStaHea.falEdg.not_u,optStaHea.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,optStaHea.optHea.truHol.stateGraphRoot.resume,optStaHea.optHea.truHol.stateGraphRoot.suspend,conPID.con1.y,optStaHea.con3.y,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 155 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0008547/0.822, allocations: 452.3 kB / 1.491 GB, free: 253.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.8222, allocations: 82.97 kB / 1.492 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/0.8248, allocations: 0.9905 MB / 1.493 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.8249, allocations: 6.188 kB / 1.493 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.8249, allocations: 0 / 1.493 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/0.8254, allocations: 247.8 kB / 1.493 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.8256, allocations: 43.98 kB / 1.493 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/0.8262, allocations: 60.17 kB / 1.493 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/0.8266, allocations: 116.7 kB / 1.493 GB, free: 251.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002892/0.8295, allocations: 1.058 MB / 1.494 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00371/0.8332, allocations: 1.608 MB / 1.496 GB, free: 248.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001057/0.8343, allocations: 467 kB / 1.496 GB, free: 248.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006263/0.835, allocations: 362.8 kB / 1.496 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of Backend: time 5.41e-07/0.835, allocations: 0 / 1.496 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003732/0.8387, allocations: 1.337 MB / 1.498 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.003673/0.8425, allocations: 2.172 MB / 1.5 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.0361/0.8786, allocations: 13.34 MB / 1.513 GB, free: 231.6 MB / 0.8542 GB