Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 107.6 kB / 18.95 MB, free: 2.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 211.2 kB / 22.24 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.778/2.778, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 63.53 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3265, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.008792/0.3353, allocations: 4.699 MB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006397/0.3417, allocations: 2.435 MB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.343, allocations: 47.69 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007824/0.3438, allocations: 154.3 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009495/0.3448, allocations: 138.6 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.3473, allocations: 0.6981 MB / 1.291 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00239/0.3496, allocations: 1.434 MB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.3515, allocations: 0.8696 MB / 1.293 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009919/0.3525, allocations: 0.5023 MB / 1.293 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009518/0.3534, allocations: 461.5 kB / 1.294 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004168/0.3538, allocations: 168 kB / 1.294 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007877/0.3546, allocations: 295.7 kB / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004452/0.3551, allocations: 331.1 kB / 1.294 GB, free: 192 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006573/0.3557, allocations: 461.9 kB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.3583, allocations: 1.923 MB / 1.297 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3583, allocations: 0 / 1.297 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3583, allocations: 0 / 1.297 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.409e-05/0.3583, allocations: 4 kB / 1.297 GB, free: 13.8 MB / 0.9981 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.002972/0.3613, allocations: 1.424 MB / 1.298 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3613, allocations: 8.031 kB / 1.298 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002084/0.3615, allocations: 152.4 kB / 1.298 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005002/0.362, allocations: 148.2 kB / 1.298 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.3632, allocations: 0.6252 MB / 1.299 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.3633, allocations: 90.36 kB / 1.299 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.3635, allocations: 112.4 kB / 1.299 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.3657, allocations: 1.092 MB / 1.3 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.3657, allocations: 7.938 kB / 1.3 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-05/0.3658, allocations: 43.98 kB / 1.3 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.981e-05/0.3658, allocations: 24 kB / 1.3 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.3675, allocations: 0.7183 MB / 1.301 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005905/0.3734, allocations: 3.363 MB / 1.304 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.3756, allocations: 0.9105 MB / 1.305 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007481/0.3763, allocations: 365.7 kB / 1.306 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.293e-05/0.3764, allocations: 8.656 kB / 1.306 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/0.3776, allocations: 0.5828 MB / 1.306 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=101): time 3.787e-06/0.3776, allocations: 0 / 1.306 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101): time 0.002814/0.3805, allocations: 1.195 MB / 1.307 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.3806, allocations: 157.5 kB / 1.308 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009576/0.3816, allocations: 0.5415 MB / 1.308 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.3818, allocations: 81.69 kB / 1.308 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/0.3822, allocations: 421.5 kB / 1.309 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/0.3826, allocations: 289.7 kB / 1.309 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004982/0.3831, allocations: 242.9 kB / 1.309 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002609/0.3834, allocations: 391 kB / 1.309 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008135/0.3842, allocations: 354 kB / 1.31 GB, free: 148 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.3857, allocations: 0.7891 MB / 1.311 GB, free: 15.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.3874, allocations: 0.8524 MB / 1.311 GB, free: 14.27 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.3874, allocations: 0 / 1.311 GB, free: 14.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002285/0.3897, allocations: 1.057 MB / 1.312 GB, free: 13.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.3897, allocations: 10.66 kB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/0.3898, allocations: 8 kB / 1.312 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/0.3898, allocations: 12 kB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/0.3904, allocations: 163.7 kB / 1.313 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/0.3904, allocations: 19.88 kB / 1.313 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006385/0.3911, allocations: 127.2 kB / 1.313 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.145e-05/0.3912, allocations: 44.08 kB / 1.313 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001079/0.3922, allocations: 0.5338 MB / 1.313 GB, free: 12.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001233/0.3935, allocations: 0.7774 MB / 1.314 GB, free: 11.37 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00144/0.3949, allocations: 0.8312 MB / 1.315 GB, free: 10.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.949e-06/0.3949, allocations: 4 kB / 1.315 GB, free: 10.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=157) (initialization_lambda0): time 0.002137/0.3971, allocations: 1.029 MB / 1.316 GB, free: 9.414 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3971, allocations: 8.812 kB / 1.316 GB, free: 9.406 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.3971, allocations: 8 kB / 1.316 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.3971, allocations: 12 kB / 1.316 GB, free: 9.387 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.3977, allocations: 155.7 kB / 1.316 GB, free: 9.234 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.37e-05/0.3978, allocations: 15.94 kB / 1.316 GB, free: 9.219 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000708/0.3985, allocations: 131.3 kB / 1.316 GB, free: 9.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.263e-05/0.3986, allocations: 40 kB / 1.316 GB, free: 9.051 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 103 ($PRE.optStaHea.optHea.truHol.onDelay.u,$PRE.optStaHea.optHea.truHol.toOutputTrue.enableFire,$PRE.optStaHea.optHea.truHol.toInitial.enableFire,optStaHea.optHea.tim.passed,$PRE.optStaHea.optHea.tim.passed,$PRE.optStaHea.optHea.truHol.onDelay.t_next,$whenCondition10,optStaHea.optHea.truHol.onDelay.t_next,optStaHea.optHea.samTemSloAve.y,optStaHea.optHea.samTemSloAve.iSample,$PRE.optStaHea.optHea.samTemSloAve.iSample,optStaHea.optHea.samTemSloAve.counter,$PRE.optStaHea.optHea.samTemSloAve.counter,optStaHea.optHea.samTemSloAve.index,optStaHea.optHea.samTemSloAve.ySample[1],$PRE.optStaHea.optHea.samTemSloAve.ySample[1],optStaHea.optHea.samTemSloAve.ySample[2],$PRE.optStaHea.optHea.samTemSloAve.ySample[2],optStaHea.optHea.samTemSloAve.ySample[3],$PRE.optStaHea.optHea.samTemSloAve.ySample[3],optStaHea.optHea.dTCalOn.y,$PRE.optStaHea.optHea.dTCalOn.y,optStaHea.optHea.dTHVACOn.y,$PRE.optStaHea.optHea.dTHVACOn.y,optStaHea.optHea.triSam.y,$PRE.optStaHea.optHea.triSam.y,optStaHea.optHea.triSam1.y,$PRE.optStaHea.optHea.triSam1.y,optStaHea.optHea.reqStaUp.y,optStaHea.optHea.triAve.u2,optStaHea.optHea.triAve.y,$whenCondition13,optStaHea.optOn,optStaHea.optHea.staCal,optStaHea.optHea.edg.u,$PRE.optStaHea.optHea.edg.u,optStaHea.optHea.edg.y,optStaHea.optHea.falEdg.y,optStaHea.optHea.falEdg.not_u,$PRE.optStaHea.optHea.falEdg.not_u,optStaHea.optHea.hys.y,$PRE.optStaHea.optHea.hys.y,optStaHea.optHea.hysOpt.y,$PRE.optStaHea.optHea.hysOpt.y,optStaHea.optHea.truHol.stateGraphRoot.activeSteps,optStaHea.optHea.truHol.onDelay.u,optStaHea.optHea.truHol.onDelay.y,optStaHea.optHea.truHol.initialStep.active,optStaHea.optHea.truHol.initialStep.localActive,$PRE.optStaHea.optHea.truHol.initialStep.localActive,optStaHea.optHea.truHol.initialStep.newActive,$PRE.optStaHea.optHea.truHol.initialStep.newActive,optStaHea.optHea.truHol.initialStep.oldActive,$PRE.optStaHea.optHea.truHol.initialStep.oldActive,optStaHea.optHea.truHol.outputTrue.localActive,$PRE.optStaHea.optHea.truHol.outputTrue.localActive,optStaHea.optHea.truHol.outputTrue.newActive,$PRE.optStaHea.optHea.truHol.outputTrue.newActive,optStaHea.optHea.truHol.outputTrue.oldActive,$PRE.optStaHea.optHea.truHol.outputTrue.oldActive,optStaHea.optHea.truHol.outputTrue.active,optStaHea.optHea.truHol.toOutputTrue.enableFire,optStaHea.optHea.truHol.toInitial.enableFire,optStaHea.optHea.pre.u,$PRE.optStaHea.optHea.pre.u,optStaHea.optHea.lat.y,optStaHea.optHea.tim.entryTime,$PRE.optStaHea.optHea.tim.entryTime,optStaHea.optHea.samTimOpt.y,$PRE.optStaHea.optHea.samTimOpt.y,optStaHea.optHea.greThr.y,optStaHea.hysSta.greHys.y,$PRE.optStaHea.hysSta.greHys.y,optStaHea.falEdg.not_u,$PRE.optStaHea.falEdg.not_u,occSch.occupied,$PRE.occSch.occupied,occSch.tOcc,$PRE.occSch.tOcc,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tNext,$PRE.occSch.tNext,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition12,$whenCondition11,optStaHea.optHea.truHol.toOutputTrue.t_start,$PRE.optStaHea.optHea.truHol.toOutputTrue.t_start,optStaHea.optHea.truHol.toInitial.t_start,$PRE.optStaHea.optHea.truHol.toInitial.t_start,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 (152): * Single equations (assignments): 150 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005446/0.3991, allocations: 332.8 kB / 1.317 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.3993, allocations: 75.53 kB / 1.317 GB, free: 8.641 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.4014, allocations: 0.9237 MB / 1.317 GB, free: 7.703 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.4014, allocations: 12 kB / 1.318 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.4015, allocations: 4 kB / 1.318 GB, free: 7.688 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4015, allocations: 3.984 kB / 1.318 GB, free: 7.684 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003944/0.4054, allocations: 1.945 MB / 1.319 GB, free: 5.688 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4054, allocations: 0 / 1.319 GB, free: 5.688 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.4058, allocations: 87.83 kB / 1.319 GB, free: 5.602 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.4058, allocations: 4 kB / 1.32 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.442e-05/0.4059, allocations: 27.91 kB / 1.32 GB, free: 5.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.4059, allocations: 8 kB / 1.32 GB, free: 5.562 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4059, allocations: 0 / 1.32 GB, free: 5.562 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.4086, allocations: 1.435 MB / 1.321 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.409, allocations: 163.2 kB / 1.321 GB, free: 3.945 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.4092, allocations: 43.92 kB / 1.321 GB, free: 3.902 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.4096, allocations: 48.02 kB / 1.321 GB, free: 3.855 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.4099, allocations: 96.81 kB / 1.321 GB, free: 3.762 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.588e-05/0.4099, allocations: 35.98 kB / 1.321 GB, free: 3.727 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005158/0.4105, allocations: 338.9 kB / 1.322 GB, free: 3.398 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4105, allocations: 0 / 1.322 GB, free: 3.398 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001397/0.4119, allocations: 430.7 kB / 1.322 GB, free: 2.977 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (conPID.I.y,TRoo.y) * Number of discrete variables: 63 (optStaHea.optHea.truHol.toInitial.t_start,optStaHea.optHea.truHol.toOutputTrue.t_start,optStaHea.optHea.triAve.y,optStaHea.optHea.edg.y,optStaHea.optHea.falEdg.y,optStaHea.optHea.truHol.initialStep.localActive,optStaHea.optHea.truHol.outputTrue.localActive,optStaHea.optHea.truHol.onDelay.u,optStaHea.optHea.truHol.outputTrue.active,optStaHea.optOn,optStaHea.optHea.staCal,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition1,occSch.tNext,occSch.tNonOcc,occSch.tOcc,occSch.occupied,optStaHea.falEdg.not_u,optStaHea.hysSta.greHys.y,optStaHea.optHea.triAve.u2,optStaHea.optHea.reqStaUp.y,optStaHea.optHea.greThr.y,optStaHea.optHea.samTimOpt.y,optStaHea.optHea.tim.entryTime,optStaHea.optHea.tim.passed,optStaHea.optHea.lat.y,optStaHea.optHea.triSam1.y,optStaHea.optHea.triSam.y,optStaHea.optHea.pre.u,optStaHea.optHea.truHol.toInitial.enableFire,optStaHea.optHea.truHol.toOutputTrue.enableFire,optStaHea.optHea.truHol.outputTrue.oldActive,optStaHea.optHea.truHol.outputTrue.newActive,optStaHea.optHea.truHol.initialStep.oldActive,optStaHea.optHea.truHol.initialStep.newActive,optStaHea.optHea.truHol.initialStep.active,optStaHea.optHea.truHol.onDelay.t_next,optStaHea.optHea.truHol.onDelay.y,optStaHea.optHea.truHol.stateGraphRoot.activeSteps,optStaHea.optHea.hysOpt.y,optStaHea.optHea.hys.y,optStaHea.optHea.falEdg.not_u,optStaHea.optHea.edg.u,optStaHea.optHea.dTHVACOn.y,optStaHea.optHea.dTCalOn.y,optStaHea.optHea.samTemSloAve.ySample[3],optStaHea.optHea.samTemSloAve.ySample[2],optStaHea.optHea.samTemSloAve.ySample[1],optStaHea.optHea.samTemSloAve.index,optStaHea.optHea.samTemSloAve.counter,optStaHea.optHea.samTemSloAve.iSample,optStaHea.optHea.samTemSloAve.y) * Number of discrete states: 19 (optStaHea.optHea.truHol.onDelay.t_next,occSch.tNext,optStaHea.hysSta.greHys.y,optStaHea.falEdg.not_u,optStaHea.optHea.pre.u,optStaHea.optHea.truHol.outputTrue.newActive,optStaHea.optHea.tim.entryTime,optStaHea.optHea.truHol.initialStep.newActive,optStaHea.optHea.hys.y,optStaHea.optHea.falEdg.not_u,optStaHea.optHea.edg.u,optStaHea.optHea.samTemSloAve.iSample,optStaHea.optHea.samTemSloAve.ySample[1],optStaHea.optHea.samTemSloAve.ySample[2],optStaHea.optHea.samTemSloAve.ySample[3],optStaHea.optHea.samTemSloAve.counter,optStaHea.optHea.hysOpt.y,optStaHea.optHea.truHol.toOutputTrue.t_start,optStaHea.optHea.truHol.toInitial.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00372/0.4156, allocations: 2.109 MB / 1.324 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00331/0.4189, allocations: 1.377 MB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.4189, allocations: 0 / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009276/0.4198, allocations: 410 kB / 1.326 GB, free: 15.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009398/0.4208, allocations: 130.2 kB / 1.326 GB, free: 14.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.434, allocations: 6.695 MB / 1.332 GB, free: 7.918 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007865/0.4347, allocations: 411.6 kB / 1.333 GB, free: 7.48 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000781/0.4355, allocations: 126.6 kB / 1.333 GB, free: 7.352 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007146/0.4362, allocations: 339.3 kB / 1.333 GB, free: 7.02 MB / 1.029 GB Notification: Performance of SimCode: time 2.846e-06/0.4362, allocations: 0 / 1.333 GB, free: 7.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08457/0.5208, allocations: 18.18 MB / 1.351 GB, free: 5.141 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.05, allocations: 7 kB / 1.351 GB, free: 5.137 MB / 1.045 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating_fmu --startTime=-172800 --stopTime=604800 --stepSize=311.04 --timeout=400 --tolerance=1e-07 Buildings_11_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating.fmu > Buildings_11_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,optStaHea.tOpt,TSetHea.y,optStaHea.TZon,optStaHea.optOn Variables in the result:QHea.k,QHea.u,QHea.y,TOut.amplitude,TOut.freqHz,TOut.offset,TOut.phase,TOut.startTime,TOut.y,TRoo.initType,TRoo.k,TRoo.u,TRoo.use_reset,TRoo.use_set,TRoo.y,TRoo.y_start,TSetHea.realFalse,TSetHea.realTrue,TSetHea.u,TSetHea.y,TSetHeaOcc.k,TSetHeaOcc.y,UA.k,UA.u,UA.y,add.u1,add.u2,add.y,booToRea.realFalse,booToRea.realTrue,booToRea.u,booToRea.y,conPID.I.k,conPID.I.trigger,conPID.I.u,conPID.I.y,conPID.I.y_reset_in,conPID.I.y_start,conPID.Nd,conPID.Ni,conPID.P.k,conPID.P.u,conPID.P.y,conPID.Td,conPID.Ti,conPID.controlError.u1,conPID.controlError.u2,conPID.controlError.y,conPID.controllerType,conPID.errI1.u1,conPID.errI1.u2,conPID.errI1.y,conPID.errI2.u1,conPID.errI2.u2,conPID.errI2.y,conPID.errP.u1,conPID.errP.u2,conPID.errP.y,conPID.k,conPID.lim.u,conPID.lim.uMax,conPID.lim.uMin,conPID.lim.y,conPID.r,conPID.reverseActing,conPID.u_m,conPID.u_s,conPID.xi_start,conPID.y,conPID.yMax,conPID.yMin,conPID.yd_start,dT.u1,dT.u2,dT.y,dTdt.u1,dTdt.u2,dTdt.y,der(TRoo.y),der(conPID.I.y),occSch.firstEntryOccupied,occSch.occupancy[1],occSch.occupancy[2],occSch.occupied,occSch.period,occSch.tNexNonOcc,occSch.tNexOcc,optStaHea.TSetZonHea,optStaHea.TZon,optStaHea.computeCooling,optStaHea.computeHeating,optStaHea.hysSta.h,optStaHea.hysSta.pre_y_start,optStaHea.hysSta.t,optStaHea.hysSta.u,optStaHea.hysSta.y,optStaHea.nDay,optStaHea.optHea.TDif,optStaHea.optHea.nDay,optStaHea.optHea.optOn,optStaHea.optHea.staCal,optStaHea.optHea.tNexOcc,optStaHea.optHea.tOpt,optStaHea.optHea.tOptMax,optStaHea.optHea.thrOptOn,optStaHea.optHea.uHigh,optStaHea.optHea.uLow,optStaHea.optOn,optStaHea.tNexOcc,optStaHea.tOpt,optStaHea.tOptMax,optStaHea.thrOptOn,optStaHea.uHigh,optStaHea.uLow,time [Calling sys.exit(0), Time elapsed: 19.936480161268264]