Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.Utilities.Validation.OptimalStartCoolingNegativeStartTime.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.OptimalStartCoolingNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.Utilities.Validation.OptimalStartCoolingNegativeStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.395/5.395, allocations: 0.5623 GB / 0.5776 GB, free: 3.375 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.002558/0.002557, allocations: 354.8 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.651/4.651, allocations: 410.7 MB / 1.113 GB, free: 5.953 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.001897/0.001897, allocations: 185 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004911, allocations: 12 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.742/0.7425, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartCoolingNegativeStartTime): time 0.00759/0.7501, allocations: 4.549 MB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006323/0.7565, allocations: 2.392 MB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.7581, allocations: 35.81 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006953/0.7588, allocations: 130.6 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.7602, allocations: 170.9 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002937/0.7631, allocations: 0.6447 MB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002238/0.7654, allocations: 1.266 MB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.7671, allocations: 0.7833 MB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005557/0.7677, allocations: 319.1 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000506/0.7682, allocations: 363.2 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.7684, allocations: 36 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.7687, allocations: 133.1 kB / 1.472 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.769, allocations: 175.2 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.7692, allocations: 221.1 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.771, allocations: 1.491 MB / 1.474 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.7711, allocations: 0.875 kB / 1.474 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7711, allocations: 0 / 1.474 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.74e-05/0.7711, allocations: 0 / 1.474 GB, free: 271.6 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.003589/0.7747, allocations: 1.2 MB / 1.475 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.7748, allocations: 12.94 kB / 1.475 GB, free: 270.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004653/0.7753, allocations: 130.5 kB / 1.475 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.7769, allocations: 0.7049 MB / 1.476 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.777, allocations: 89.98 kB / 1.476 GB, free: 269.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.7773, allocations: 120 kB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.7801, allocations: 1.084 MB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.187e-05/0.7802, allocations: 0 / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.7804, allocations: 43.98 kB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.7804, allocations: 24 kB / 1.477 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/0.7827, allocations: 0.7412 MB / 1.478 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007771/0.7905, allocations: 3.895 MB / 1.482 GB, free: 263.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003445/0.794, allocations: 1.098 MB / 1.483 GB, free: 262.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.7952, allocations: 405.5 kB / 1.483 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.612e-05/0.7953, allocations: 15.03 kB / 1.483 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001535/0.7969, allocations: 0.5898 MB / 1.484 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=103): time 5.23e-06/0.7969, allocations: 0 / 1.484 GB, free: 261.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=103): time 0.003599/0.8005, allocations: 1.243 MB / 1.485 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.8007, allocations: 102.1 kB / 1.485 GB, free: 260 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009725/0.8017, allocations: 0.5776 MB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003099/0.802, allocations: 81.69 kB / 1.486 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.8024, allocations: 437.4 kB / 1.486 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/0.8028, allocations: 276.3 kB / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/0.8029, allocations: 28 kB / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.803, allocations: 403.4 kB / 1.487 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.8042, allocations: 356.3 kB / 1.487 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.8057, allocations: 0.6441 MB / 1.488 GB, free: 257.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.807, allocations: 394.8 kB / 1.488 GB, free: 256.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.807, allocations: 4 kB / 1.488 GB, free: 256.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003172/0.8102, allocations: 1.11 MB / 1.489 GB, free: 255.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.8104, allocations: 278.1 kB / 1.489 GB, free: 255.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-05/0.8105, allocations: 8.797 kB / 1.489 GB, free: 255.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.183e-05/0.8105, allocations: 19.95 kB / 1.489 GB, free: 255.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.8117, allocations: 164.7 kB / 1.49 GB, free: 255 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.716e-05/0.8118, allocations: 15.94 kB / 1.49 GB, free: 255 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.8129, allocations: 146 kB / 1.49 GB, free: 254.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.8131, allocations: 49.22 kB / 1.49 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8131, allocations: 4 kB / 1.49 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00304/0.8162, allocations: 0.9652 MB / 1.491 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/0.8163, allocations: 9.312 kB / 1.491 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.8163, allocations: 12 kB / 1.491 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.8175, allocations: 163.6 kB / 1.491 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/0.8175, allocations: 14.47 kB / 1.491 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.8186, allocations: 124.7 kB / 1.491 GB, free: 253.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.8188, allocations: 51.98 kB / 1.491 GB, free: 253.5 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.0009929/0.8198, allocations: 457.4 kB / 1.491 GB, free: 253.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.8201, allocations: 86.95 kB / 1.492 GB, free: 253 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.823, allocations: 0.9847 MB / 1.493 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/0.823, allocations: 3.984 kB / 1.493 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.8231, allocations: 0 / 1.493 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005391/0.8236, allocations: 255.8 kB / 1.493 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.8239, allocations: 39.98 kB / 1.493 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006288/0.8245, allocations: 53.67 kB / 1.493 GB, free: 251.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003215/0.8248, allocations: 118 kB / 1.493 GB, free: 251.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003107/0.828, allocations: 1.059 MB / 1.494 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004085/0.8321, allocations: 1.6 MB / 1.496 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0012/0.8334, allocations: 464.4 kB / 1.496 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006998/0.8341, allocations: 360.7 kB / 1.496 GB, free: 248 MB / 0.8542 GB Notification: Performance of Backend: time 6.71e-07/0.8341, allocations: 0 / 1.496 GB, free: 248 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004299/0.8384, allocations: 1.353 MB / 1.498 GB, free: 246.7 MB / 0.8542 GB Notification: Performance of SimCode: time 0.004192/0.8427, allocations: 2.171 MB / 1.5 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.03736/0.8801, allocations: 13.36 MB / 1.513 GB, free: 231.5 MB / 0.8542 GB