Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optStaHea.tOpt|TSetHea.y|optStaHea.TZon|optStaHea.optOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optStaHea.tOpt|TSetHea.y|optStaHea.TZon|optStaHea.optOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 104.8 kB / 16.36 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001465, allocations: 192 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.475/2.475, allocations: 442.5 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002494, allocations: 65.34 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3589, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.007182/0.3661, allocations: 5.261 MB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004652/0.3708, allocations: 2.502 MB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.3721, allocations: 31.88 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005944/0.3728, allocations: 166.2 kB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006378/0.3734, allocations: 122.7 kB / 1.035 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.3751, allocations: 0.6942 MB / 1.035 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001642/0.3768, allocations: 1.465 MB / 1.037 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.3783, allocations: 1.15 MB / 1.038 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.3788, allocations: 0.5022 MB / 1.038 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004677/0.3793, allocations: 0.5093 MB / 1.039 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.3794, allocations: 172 kB / 1.039 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.3798, allocations: 279.9 kB / 1.039 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.3801, allocations: 335.1 kB / 1.04 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004885/0.3806, allocations: 0.5988 MB / 1.04 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.3822, allocations: 1.92 MB / 1.042 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3822, allocations: 4 kB / 1.042 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3822, allocations: 0 / 1.042 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.3822, allocations: 0 / 1.042 GB, free: 2.27 MB / 0.8106 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.002247/0.3845, allocations: 1.398 MB / 1.043 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3845, allocations: 8.75 kB / 1.043 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.3847, allocations: 119.6 kB / 1.044 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009782/0.3857, allocations: 0.6908 MB / 1.044 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.612e-05/0.3858, allocations: 90.36 kB / 1.044 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.386, allocations: 120.3 kB / 1.044 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.3876, allocations: 1.083 MB / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.3877, allocations: 3.938 kB / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/0.3878, allocations: 51.92 kB / 1.046 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.3878, allocations: 24 kB / 1.046 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.3892, allocations: 0.7299 MB / 1.046 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/0.3937, allocations: 3.803 MB / 1.05 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.3956, allocations: 1.074 MB / 1.051 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006448/0.3963, allocations: 429.7 kB / 1.051 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.736e-05/0.3963, allocations: 14.38 kB / 1.051 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.3974, allocations: 0.6474 MB / 1.052 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=105): time 2.455e-06/0.3974, allocations: 0 / 1.052 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=105): time 0.002298/0.3997, allocations: 1.257 MB / 1.053 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.3998, allocations: 161.4 kB / 1.053 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006242/0.4004, allocations: 0.5374 MB / 1.054 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.4006, allocations: 81.7 kB / 1.054 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.4009, allocations: 412.6 kB / 1.054 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.4011, allocations: 284.2 kB / 1.055 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/0.4014, allocations: 250.9 kB / 1.055 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.4016, allocations: 398.7 kB / 1.055 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006566/0.4023, allocations: 377.9 kB / 1.056 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009326/0.4032, allocations: 0.6455 MB / 1.056 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/0.4046, allocations: 0.8682 MB / 1.057 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.4046, allocations: 0 / 1.057 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.001894/0.4065, allocations: 1.107 MB / 1.058 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.4065, allocations: 8 kB / 1.058 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.4066, allocations: 8 kB / 1.058 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.4066, allocations: 12 kB / 1.058 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.4072, allocations: 159.7 kB / 1.058 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/0.4072, allocations: 15.94 kB / 1.058 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005839/0.4078, allocations: 135.3 kB / 1.059 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-05/0.4079, allocations: 48 kB / 1.059 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009432/0.4089, allocations: 0.5572 MB / 1.059 GB, free: 112 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008267/0.4097, allocations: 0.63 MB / 1.06 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001184/0.4109, allocations: 0.8477 MB / 1.061 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.768e-06/0.4109, allocations: 4 kB / 1.061 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.001758/0.4127, allocations: 1.076 MB / 1.062 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4127, allocations: 8 kB / 1.062 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.4127, allocations: 8 kB / 1.062 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4127, allocations: 12 kB / 1.062 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005549/0.4133, allocations: 163.6 kB / 1.062 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.4133, allocations: 12 kB / 1.062 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005528/0.4139, allocations: 131.3 kB / 1.062 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-05/0.414, allocations: 47.98 kB / 1.062 GB, free: 12.97 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 110 ($PRE.optStaHea.optHea.truHol.onDelay.u,$PRE.optStaHea.optHea.truHol.toOutputTrue.enableFire,$PRE.optStaHea.optHea.truHol.toInitial.enableFire,$PRE.optStaHea.optHea.lat.y,optStaHea.optHea.tim.passed,$PRE.optStaHea.optHea.tim.passed,$PRE.optStaHea.optHea.truHol.onDelay.t_next,$whenCondition12,optStaHea.optHea.truHol.onDelay.t_next,optStaHea.optHea.triAve.y,optStaHea.optHea.triAve.u2,optStaHea.optHea.reqStaUp.y,optStaHea.optHea.triSam1.y,$PRE.optStaHea.optHea.triSam1.y,optStaHea.optHea.triSam.y,$PRE.optStaHea.optHea.triSam.y,optStaHea.optHea.dTHVACOn.y,$PRE.optStaHea.optHea.dTHVACOn.y,optStaHea.optHea.dTCalOn.y,$PRE.optStaHea.optHea.dTCalOn.y,optStaHea.optHea.samTemSloAve.ySample[3],$PRE.optStaHea.optHea.samTemSloAve.ySample[3],optStaHea.optHea.samTemSloAve.ySample[2],$PRE.optStaHea.optHea.samTemSloAve.ySample[2],optStaHea.optHea.samTemSloAve.ySample[1],$PRE.optStaHea.optHea.samTemSloAve.ySample[1],optStaHea.optHea.samTemSloAve.index,optStaHea.optHea.samTemSloAve.counter,$PRE.optStaHea.optHea.samTemSloAve.counter,optStaHea.optHea.samTemSloAve.iSample,$PRE.optStaHea.optHea.samTemSloAve.iSample,optStaHea.optHea.samTemSloAve.y,$whenCondition16,occSch.tNext,$PRE.occSch.tNext,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tOcc,$PRE.occSch.tOcc,occSch.occupied,$PRE.occSch.occupied,optStaHea.falEdg.not_u,$PRE.optStaHea.falEdg.not_u,optStaHea.hysSta.greHys.y,$PRE.optStaHea.hysSta.greHys.y,optStaHea.optHea.greThr.y,optStaHea.optHea.samTimOpt.y,$PRE.optStaHea.optHea.samTimOpt.y,optStaHea.optHea.tim.entryTime,$PRE.optStaHea.optHea.tim.entryTime,optStaHea.optHea.lat.y,optStaHea.optHea.lat.clr,$PRE.optStaHea.optHea.lat.clr,optStaHea.optHea.lat.u,$PRE.optStaHea.optHea.lat.u,optStaHea.optHea.pre.u,$PRE.optStaHea.optHea.pre.u,optStaHea.optHea.truHol.toInitial.enableFire,optStaHea.optHea.truHol.toOutputTrue.enableFire,optStaHea.optHea.truHol.outputTrue.active,optStaHea.optHea.truHol.outputTrue.oldActive,$PRE.optStaHea.optHea.truHol.outputTrue.oldActive,optStaHea.optHea.truHol.outputTrue.newActive,$PRE.optStaHea.optHea.truHol.outputTrue.newActive,optStaHea.optHea.truHol.outputTrue.localActive,$PRE.optStaHea.optHea.truHol.outputTrue.localActive,optStaHea.optHea.truHol.initialStep.oldActive,$PRE.optStaHea.optHea.truHol.initialStep.oldActive,optStaHea.optHea.truHol.initialStep.newActive,$PRE.optStaHea.optHea.truHol.initialStep.newActive,optStaHea.optHea.truHol.initialStep.localActive,$PRE.optStaHea.optHea.truHol.initialStep.localActive,optStaHea.optHea.truHol.initialStep.active,optStaHea.optHea.truHol.onDelay.y,optStaHea.optHea.truHol.onDelay.u,optStaHea.optHea.truHol.stateGraphRoot.activeSteps,optStaHea.optHea.hysOpt.y,$PRE.optStaHea.optHea.hysOpt.y,optStaHea.optHea.hys.y,$PRE.optStaHea.optHea.hys.y,optStaHea.optHea.falEdg.not_u,$PRE.optStaHea.optHea.falEdg.not_u,optStaHea.optHea.falEdg.y,optStaHea.optHea.edg.y,optStaHea.optHea.edg.u,$PRE.optStaHea.optHea.edg.u,optStaHea.optHea.staCal,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition10,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,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 (159): * Single equations (assignments): 157 * 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.0003817/0.4144, allocations: 337.5 kB / 1.062 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.4145, allocations: 86.98 kB / 1.062 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.4162, allocations: 0.9823 MB / 1.063 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.4162, allocations: 12 kB / 1.063 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4163, allocations: 0 / 1.063 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.4163, allocations: 3.984 kB / 1.063 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/0.4194, allocations: 2.199 MB / 1.066 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.4194, allocations: 4 kB / 1.066 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.4198, allocations: 83.83 kB / 1.066 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.4198, allocations: 4 kB / 1.066 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.4199, allocations: 27.97 kB / 1.066 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.4199, allocations: 15.86 kB / 1.066 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4199, allocations: 0 / 1.066 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.4223, allocations: 1.501 MB / 1.067 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/0.4227, allocations: 247.8 kB / 1.067 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.4228, allocations: 48.05 kB / 1.067 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.4232, allocations: 51.89 kB / 1.067 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.4234, allocations: 100.9 kB / 1.068 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/0.4235, allocations: 47.91 kB / 1.068 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003928/0.4239, allocations: 334.9 kB / 1.068 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4239, allocations: 0 / 1.068 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001301/0.4252, allocations: 438.4 kB / 1.068 GB, free: 6.367 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (TRoo.y,conPID.I.y) * Number of discrete variables: 69 (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.optHea.staCal,$cse1,$cse2,$whenCondition16,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition1,optStaHea.optHea.samTemSloAve.y,optStaHea.optHea.samTemSloAve.iSample,optStaHea.optHea.samTemSloAve.counter,optStaHea.optHea.samTemSloAve.index,optStaHea.optHea.samTemSloAve.ySample[1],optStaHea.optHea.samTemSloAve.ySample[2],optStaHea.optHea.samTemSloAve.ySample[3],optStaHea.optHea.dTCalOn.y,optStaHea.optHea.dTHVACOn.y,optStaHea.optHea.edg.u,optStaHea.optHea.falEdg.not_u,optStaHea.optHea.hys.y,optStaHea.optHea.hysOpt.y,optStaHea.optHea.truHol.stateGraphRoot.activeSteps,optStaHea.optHea.truHol.onDelay.y,optStaHea.optHea.truHol.onDelay.t_next,optStaHea.optHea.truHol.initialStep.active,optStaHea.optHea.truHol.initialStep.newActive,optStaHea.optHea.truHol.initialStep.oldActive,optStaHea.optHea.truHol.outputTrue.newActive,optStaHea.optHea.truHol.outputTrue.oldActive,optStaHea.optHea.truHol.toOutputTrue.enableFire,optStaHea.optHea.truHol.toInitial.enableFire,optStaHea.optHea.pre.u,optStaHea.optHea.triSam.y,optStaHea.optHea.triSam1.y,optStaHea.optHea.lat.u,optStaHea.optHea.lat.clr,optStaHea.optHea.lat.y,optStaHea.optHea.tim.passed,optStaHea.optHea.tim.entryTime,optStaHea.optHea.samTimOpt.y,optStaHea.optHea.greThr.y,optStaHea.optHea.reqStaUp.y,optStaHea.optHea.triAve.u2,optStaHea.hysSta.greHys.y,optStaHea.falEdg.not_u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext) * Number of discrete states: 22 (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.lat.u,optStaHea.optHea.lat.clr,optStaHea.optHea.lat.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 (102): * Single equations (assignments): 82 * 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.0003931/0.4256, allocations: 239 kB / 1.069 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002674/0.4283, allocations: 1.553 MB / 1.07 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4283, allocations: 4.125 kB / 1.07 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.429, allocations: 485.5 kB / 1.071 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006961/0.4297, allocations: 135.1 kB / 1.071 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.4323, allocations: 1.563 MB / 1.072 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.4329, allocations: 1.005 MB / 1.073 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005213/0.4334, allocations: 138.9 kB / 1.073 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.4336, allocations: 79.41 kB / 1.073 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of SimCode: time 9.02e-07/0.4336, allocations: 0 / 1.073 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of Templates: time 0.5342/0.9679, allocations: 10.99 MB / 1.084 GB, free: 52.04 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,optStaHea.tOpt,TSetHea.y,optStaHea.TZon,optStaHea.optOn Variables in the result:QHea.k,TOut.amplitude,TOut.freqHz,TOut.offset,TOut.phase,TOut.startTime,TRoo.initType,TRoo.k,TRoo.y,TRoo.y_start,TSetHea.realFalse,TSetHea.realTrue,TSetHea.y,TSetHeaOcc.k,TSetHeaOcc.y,UA.k,booToRea.realFalse,booToRea.realTrue,conPID.Dzero.k,conPID.I.k,conPID.I.y_start,conPID.Nd,conPID.Ni,conPID.P.k,conPID.Td,conPID.Ti,conPID.antWinGai.k,conPID.assMesYMinMax.u,conPID.cheYMinMax.k,conPID.cheYMinMax.y,conPID.con.k,conPID.con1.k,conPID.controllerType,conPID.k,conPID.lim.uMax,conPID.lim.uMin,conPID.r,conPID.revAct,conPID.reverseActing,conPID.uMea_revAct.k,conPID.uS_revAct.k,conPID.with_D,conPID.with_I,conPID.xi_start,conPID.yMax,conPID.yMin,conPID.yd_start,occSch.firstEntryOccupied,occSch.nRow,occSch.occupancy[1],occSch.occupancy[2],occSch.period,optStaHea.TSetZonHea,optStaHea.TZon,optStaHea.addPar.p,optStaHea.computeCooling,optStaHea.computeHeating,optStaHea.con1.k,optStaHea.con3.k,optStaHea.dTHea.u1,optStaHea.falEdg.pre_u_start,optStaHea.hysSta.greHys.h,optStaHea.hysSta.greHys.pre_y_start,optStaHea.hysSta.greHys.t,optStaHea.hysSta.h,optStaHea.hysSta.have_hysteresis,optStaHea.hysSta.pre_y_start,optStaHea.hysSta.t,optStaHea.nDay,optStaHea.optHea.con.k,optStaHea.optHea.dTCalOn.y_start,optStaHea.optHea.dTHVACOn.y_start,optStaHea.optHea.defTemSlo.k,optStaHea.optHea.edg.pre_u_start,optStaHea.optHea.falEdg.pre_u_start,optStaHea.optHea.greThr.greNoHys.t,optStaHea.optHea.greThr.h,optStaHea.optHea.greThr.have_hysteresis,optStaHea.optHea.greThr.pre_y_start,optStaHea.optHea.greThr.t,optStaHea.optHea.hys.pre_y_start,optStaHea.optHea.hys.uHigh,optStaHea.optHea.hys.uLow,optStaHea.optHea.hysOpt.pre_y_start,optStaHea.optHea.hysOpt.uHigh,optStaHea.optHea.hysOpt.uLow,optStaHea.optHea.lat.u,optStaHea.optHea.maxStaTim.k,optStaHea.optHea.maxStaTim.y,optStaHea.optHea.min.u2,optStaHea.optHea.nDay,optStaHea.optHea.pre.pre_u_start,optStaHea.optHea.reqStaUp.greNoHys.t,optStaHea.optHea.reqStaUp.h,optStaHea.optHea.reqStaUp.have_hysteresis,optStaHea.optHea.reqStaUp.pre_y_start,optStaHea.optHea.reqStaUp.t,optStaHea.optHea.samTemSloAve.n,optStaHea.optHea.samTimOpt.y_start,optStaHea.optHea.samTri.period,optStaHea.optHea.samTri.shift,optStaHea.optHea.samTri.t0,optStaHea.optHea.tOptMax,optStaHea.optHea.thrOptOn,optStaHea.optHea.tim.t,optStaHea.optHea.timReaMin.k,optStaHea.optHea.triSam.y_start,optStaHea.optHea.triSam1.y_start,optStaHea.optHea.truHol.duration,optStaHea.optHea.truHol.initialStep.nIn,optStaHea.optHea.truHol.initialStep.nOut,optStaHea.optHea.truHol.onDelay.delayOnInit,optStaHea.optHea.truHol.onDelay.delayTime,optStaHea.optHea.truHol.onDelay.t_past,optStaHea.optHea.truHol.outputTrue.nIn,optStaHea.optHea.truHol.outputTrue.nOut,optStaHea.optHea.truHol.toInitial.enableTimer,optStaHea.optHea.truHol.toInitial.waitTime,optStaHea.optHea.truHol.toOutputTrue.enableTimer,optStaHea.optHea.truHol.toOutputTrue.waitTime,optStaHea.optHea.uHigh,optStaHea.optHea.uLow,optStaHea.optOn,optStaHea.tOpt,optStaHea.tOptMax,optStaHea.thrOptOn,optStaHea.uHigh,optStaHea.uLow,time