Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.Utilities.Validation.OptimalStartCoolingPositiveStartTime.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.OptimalStartCoolingPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.Utilities.Validation.OptimalStartCoolingPositiveStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.055/5.055, allocations: 0.5623 GB / 0.5776 GB, free: 3.332 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.002504/0.002503, allocations: 358.5 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.55/4.55, allocations: 410.7 MB / 1.113 GB, free: 5.898 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.001982/0.001982, allocations: 180 kB / 1.226 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005065/0.0005069, allocations: 8 kB / 1.349 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7996/0.8001, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartCoolingPositiveStartTime): time 0.01125/0.8115, allocations: 4.547 MB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.008934/0.8205, allocations: 2.387 MB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002079/0.8226, allocations: 37.16 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.8238, allocations: 134.5 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.826, allocations: 170.8 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00428/0.8303, allocations: 0.634 MB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003291/0.8336, allocations: 1.27 MB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002369/0.8361, allocations: 0.7812 MB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009408/0.8371, allocations: 311.1 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000809/0.8379, allocations: 367.2 kB / 1.472 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002907/0.8382, allocations: 36 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005668/0.8388, allocations: 136.4 kB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.8391, allocations: 175.2 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000407/0.8396, allocations: 218.5 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002812/0.8424, allocations: 1.491 MB / 1.474 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.8425, allocations: 1.688 kB / 1.474 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.347e-06/0.8425, allocations: 0 / 1.474 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.865e-05/0.8426, 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.005126/0.8477, allocations: 1.204 MB / 1.475 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/0.8478, allocations: 11.62 kB / 1.475 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005765/0.8484, allocations: 129.1 kB / 1.475 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.8509, allocations: 0.707 MB / 1.476 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.8512, allocations: 89.98 kB / 1.476 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004017/0.8516, allocations: 119.9 kB / 1.476 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00479/0.8564, allocations: 1.087 MB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-05/0.8566, allocations: 1.453 kB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/0.8568, allocations: 43.98 kB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/0.8569, allocations: 25.62 kB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00414/0.8611, allocations: 0.7407 MB / 1.478 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009439/0.8706, allocations: 3.889 MB / 1.482 GB, free: 263.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003232/0.8739, allocations: 1.108 MB / 1.483 GB, free: 262.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.8749, allocations: 403 kB / 1.483 GB, free: 262 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.581e-05/0.875, allocations: 16.64 kB / 1.483 GB, free: 262 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/0.8764, allocations: 0.586 MB / 1.484 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=103): time 4.92e-06/0.8765, allocations: 0 / 1.484 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=103): time 0.003433/0.8799, allocations: 1.242 MB / 1.485 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.184e-05/0.88, allocations: 110 kB / 1.485 GB, free: 260 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009887/0.8811, allocations: 0.5767 MB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002878/0.8814, allocations: 82.84 kB / 1.486 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.8818, allocations: 428.5 kB / 1.486 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.8821, allocations: 280.8 kB / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.179e-05/0.8822, allocations: 28 kB / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.8824, allocations: 400.2 kB / 1.487 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.8835, allocations: 360.1 kB / 1.487 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.8852, allocations: 0.6411 MB / 1.488 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/0.8875, allocations: 398 kB / 1.488 GB, free: 256.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.694e-05/0.8876, allocations: 4 kB / 1.488 GB, free: 256.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.005996/0.8936, allocations: 1.098 MB / 1.489 GB, free: 255.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000306/0.894, allocations: 284.8 kB / 1.489 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.459e-05/0.894, allocations: 8 kB / 1.489 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.966e-05/0.8941, allocations: 19.95 kB / 1.489 GB, free: 255.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.896, allocations: 163.7 kB / 1.49 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.381e-05/0.8961, allocations: 19.92 kB / 1.49 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.8983, allocations: 145.8 kB / 1.49 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003301/0.8986, allocations: 45.94 kB / 1.49 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.8987, allocations: 4 kB / 1.49 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003337/0.902, allocations: 0.9651 MB / 1.491 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.365e-05/0.9021, allocations: 15.98 kB / 1.491 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.9021, allocations: 13.69 kB / 1.491 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.9032, allocations: 159.6 kB / 1.491 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/0.9033, allocations: 15.98 kB / 1.491 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009705/0.9042, allocations: 125.3 kB / 1.491 GB, free: 253.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.9044, allocations: 48.84 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.optStaCoo.optCoo.truHol.onDelay.u,$PRE.optStaCoo.optCoo.truHol.toOutputTrue.enableFire,$PRE.optStaCoo.optCoo.truHol.toInitial.enableFire,$PRE.optStaCoo.optCoo.lat.y,$PRE.optStaCoo.optCoo.tim.passed,optStaCoo.optCoo.tim.passed,$whenCondition12,$PRE.optStaCoo.optCoo.truHol.onDelay.t_next,optStaCoo.optCoo.truHol.onDelay.t_next,$whenCondition16,optStaCoo.optCoo.samTemSloAve.y,$PRE.optStaCoo.optCoo.samTemSloAve.iSample,optStaCoo.optCoo.samTemSloAve.iSample,$PRE.optStaCoo.optCoo.samTemSloAve.counter,optStaCoo.optCoo.samTemSloAve.counter,optStaCoo.optCoo.samTemSloAve.index,$PRE.optStaCoo.optCoo.samTemSloAve.ySample[1],optStaCoo.optCoo.samTemSloAve.ySample[1],$PRE.optStaCoo.optCoo.samTemSloAve.ySample[2],optStaCoo.optCoo.samTemSloAve.ySample[2],$PRE.optStaCoo.optCoo.samTemSloAve.ySample[3],optStaCoo.optCoo.samTemSloAve.ySample[3],$PRE.optStaCoo.optCoo.dTCalOn.y,optStaCoo.optCoo.dTCalOn.y,$PRE.optStaCoo.optCoo.dTHVACOn.y,optStaCoo.optCoo.dTHVACOn.y,$PRE.optStaCoo.optCoo.triSam.y,optStaCoo.optCoo.triSam.y,$PRE.optStaCoo.optCoo.triSam1.y,optStaCoo.optCoo.triSam1.y,optStaCoo.optCoo.reqStaUp.y,optStaCoo.optCoo.triAve.u2,optStaCoo.optCoo.triAve.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition1,optStaCoo.optCoo.staCal,$PRE.optStaCoo.optCoo.edg.u,optStaCoo.optCoo.edg.u,optStaCoo.optCoo.edg.y,optStaCoo.optCoo.falEdg.y,$PRE.optStaCoo.optCoo.falEdg.not_u,optStaCoo.optCoo.falEdg.not_u,$PRE.optStaCoo.optCoo.hys.y,optStaCoo.optCoo.hys.y,$PRE.optStaCoo.optCoo.hysOpt.y,optStaCoo.optCoo.hysOpt.y,optStaCoo.optCoo.truHol.stateGraphRoot.activeSteps,optStaCoo.optCoo.truHol.onDelay.u,optStaCoo.optCoo.truHol.onDelay.y,optStaCoo.optCoo.truHol.initialStep.active,$PRE.optStaCoo.optCoo.truHol.initialStep.localActive,optStaCoo.optCoo.truHol.initialStep.localActive,$PRE.optStaCoo.optCoo.truHol.initialStep.newActive,optStaCoo.optCoo.truHol.initialStep.newActive,$PRE.optStaCoo.optCoo.truHol.initialStep.oldActive,optStaCoo.optCoo.truHol.initialStep.oldActive,$PRE.optStaCoo.optCoo.truHol.outputTrue.localActive,optStaCoo.optCoo.truHol.outputTrue.localActive,$PRE.optStaCoo.optCoo.truHol.outputTrue.newActive,optStaCoo.optCoo.truHol.outputTrue.newActive,$PRE.optStaCoo.optCoo.truHol.outputTrue.oldActive,optStaCoo.optCoo.truHol.outputTrue.oldActive,optStaCoo.optCoo.truHol.outputTrue.active,optStaCoo.optCoo.truHol.toOutputTrue.enableFire,optStaCoo.optCoo.truHol.toInitial.enableFire,$PRE.optStaCoo.optCoo.pre.u,optStaCoo.optCoo.pre.u,$PRE.optStaCoo.optCoo.lat.u,optStaCoo.optCoo.lat.u,$PRE.optStaCoo.optCoo.lat.clr,optStaCoo.optCoo.lat.clr,optStaCoo.optCoo.lat.y,$PRE.optStaCoo.optCoo.tim.entryTime,optStaCoo.optCoo.tim.entryTime,$PRE.optStaCoo.optCoo.samTimOpt.y,optStaCoo.optCoo.samTimOpt.y,optStaCoo.optCoo.greThr.y,$PRE.optStaCoo.hysSta.greHys.y,optStaCoo.hysSta.greHys.y,$PRE.optStaCoo.falEdg.not_u,optStaCoo.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,optStaCoo.optCoo.truHol.stateGraphRoot.resume,optStaCoo.optCoo.truHol.stateGraphRoot.suspend,conPID.con1.y,optStaCoo.con.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.0009446/0.9053, allocations: 449.1 kB / 1.491 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/0.9056, allocations: 87.91 kB / 1.492 GB, free: 253 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.9083, allocations: 0.9901 MB / 1.493 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.9084, allocations: 3.984 kB / 1.493 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.9084, allocations: 4.812 kB / 1.493 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004942/0.9089, allocations: 247.8 kB / 1.493 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002423/0.9092, allocations: 44.58 kB / 1.493 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/0.9098, allocations: 50.39 kB / 1.493 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/0.9101, allocations: 116.8 kB / 1.493 GB, free: 251.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002961/0.9131, allocations: 1.06 MB / 1.494 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003696/0.9168, allocations: 1.612 MB / 1.496 GB, free: 248.9 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001115/0.918, allocations: 459.8 kB / 1.496 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006246/0.9186, allocations: 360 kB / 1.496 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of Backend: time 5.71e-07/0.9186, allocations: 0 / 1.496 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003948/0.9226, allocations: 1.35 MB / 1.498 GB, free: 246.7 MB / 0.8542 GB Notification: Performance of SimCode: time 0.004025/0.9267, allocations: 2.178 MB / 1.5 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.03709/0.9638, allocations: 13.35 MB / 1.513 GB, free: 231.5 MB / 0.8542 GB