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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.01186/0.01186, allocations: 103.6 kB / 15.73 MB, free: 6.051 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.002035/0.002035, allocations: 190.8 kB / 16.67 MB, free: 5.977 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.661/2.661, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 55.91 kB / 1.054 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.009, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.008191/1.017, allocations: 5.248 MB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005886/1.023, allocations: 2.45 MB / 1.215 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/1.025, allocations: 31.88 kB / 1.215 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009709/1.027, allocations: 154.2 kB / 1.215 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009134/1.027, allocations: 130.6 kB / 1.216 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/1.03, allocations: 0.6786 MB / 1.216 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002443/1.032, allocations: 1.434 MB / 1.218 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002145/1.034, allocations: 1.143 MB / 1.219 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/1.035, allocations: 0.4944 MB / 1.219 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/1.037, allocations: 0.5055 MB / 1.22 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004993/1.037, allocations: 171.9 kB / 1.22 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007235/1.038, allocations: 267.9 kB / 1.22 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003667/1.038, allocations: 335 kB / 1.22 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006096/1.039, allocations: 0.5911 MB / 1.221 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00207/1.041, allocations: 1.902 MB / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/1.041, allocations: 0 / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.455e-06/1.041, allocations: 0 / 1.223 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.998e-05/1.041, allocations: 0 / 1.223 GB, free: 14.02 MB / 0.9512 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.00287/1.044, allocations: 1.377 MB / 1.224 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.044, allocations: 8.031 kB / 1.224 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/1.044, allocations: 127.5 kB / 1.224 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/1.045, allocations: 0.6866 MB / 1.225 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/1.045, allocations: 86.36 kB / 1.225 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/1.045, allocations: 116.4 kB / 1.225 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/1.047, allocations: 1.071 MB / 1.226 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/1.047, allocations: 7.938 kB / 1.226 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.083e-05/1.047, allocations: 43.98 kB / 1.226 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/1.047, allocations: 24 kB / 1.226 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/1.049, allocations: 0.7261 MB / 1.227 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004989/1.054, allocations: 3.767 MB / 1.231 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/1.056, allocations: 1.056 MB / 1.232 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006895/1.057, allocations: 413.7 kB / 1.232 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.86e-05/1.057, allocations: 16.64 kB / 1.232 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/1.058, allocations: 0.5849 MB / 1.233 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=101): time 2.825e-06/1.058, allocations: 0 / 1.233 GB, free: 3.598 MB / 0.9512 GB Notification: Performance of matching and sorting (n=101): time 0.002347/1.06, allocations: 1.183 MB / 1.234 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.06, allocations: 161.5 kB / 1.234 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006702/1.061, allocations: 0.5374 MB / 1.235 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/1.061, allocations: 77.7 kB / 1.235 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/1.061, allocations: 412.5 kB / 1.235 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/1.062, allocations: 268.4 kB / 1.235 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/1.062, allocations: 250.8 kB / 1.236 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002112/1.062, allocations: 390.8 kB / 1.236 GB, free: 280 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006466/1.063, allocations: 350 kB / 1.236 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008661/1.064, allocations: 0.6173 MB / 1.237 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/1.065, allocations: 0.8563 MB / 1.238 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/1.065, allocations: 3.938 kB / 1.238 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00179/1.067, allocations: 1.056 MB / 1.239 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.067, allocations: 8 kB / 1.239 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/1.067, allocations: 11.94 kB / 1.239 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/1.067, allocations: 12 kB / 1.239 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/1.068, allocations: 159.7 kB / 1.239 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-05/1.068, allocations: 23.98 kB / 1.239 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/1.068, allocations: 130.7 kB / 1.239 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.152e-05/1.068, allocations: 44 kB / 1.239 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008907/1.069, allocations: 0.5338 MB / 1.24 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008018/1.07, allocations: 0.6094 MB / 1.24 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001181/1.071, allocations: 0.8274 MB / 1.241 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.018e-06/1.071, allocations: 0 / 1.241 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=157) (initialization_lambda0): time 0.001673/1.073, allocations: 1.029 MB / 1.242 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.073, allocations: 8 kB / 1.242 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/1.073, allocations: 12.06 kB / 1.242 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/1.073, allocations: 12 kB / 1.242 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/1.073, allocations: 155.6 kB / 1.242 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/1.073, allocations: 12 kB / 1.242 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/1.074, allocations: 123.1 kB / 1.242 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/1.074, allocations: 44 kB / 1.242 GB, free: 9.254 MB / 0.9669 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.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,$whenCondition13,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.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,optStaHea.optOn,$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.0003905/1.074, allocations: 348.6 kB / 1.243 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/1.075, allocations: 75.14 kB / 1.243 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/1.076, allocations: 0.9315 MB / 1.244 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1.076, allocations: 12 kB / 1.244 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.076, allocations: 0 / 1.244 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/1.076, allocations: 7.969 kB / 1.244 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/1.08, allocations: 2.113 MB / 1.246 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.08, allocations: 4 kB / 1.246 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/1.08, allocations: 83.83 kB / 1.246 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/1.08, allocations: 4 kB / 1.246 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.595e-05/1.08, allocations: 31.91 kB / 1.246 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/1.08, allocations: 7.938 kB / 1.246 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.08, allocations: 0 / 1.246 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/1.082, allocations: 1.431 MB / 1.247 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/1.083, allocations: 235.9 kB / 1.247 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/1.083, allocations: 43.92 kB / 1.248 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/1.083, allocations: 43.95 kB / 1.248 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/1.083, allocations: 96.94 kB / 1.248 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-05/1.084, allocations: 39.97 kB / 1.248 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004433/1.084, allocations: 334.9 kB / 1.248 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.315e-06/1.084, allocations: 3.938 kB / 1.248 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001306/1.085, allocations: 434.2 kB / 1.248 GB, free: 2.887 MB / 0.9669 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: 65 (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,$cse1,$cse2,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$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.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: 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 (98): * Single equations (assignments): 78 * 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.0003763/1.086, allocations: 232.3 kB / 1.249 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002622/1.088, allocations: 1.471 MB / 1.25 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/1.088, allocations: 3.938 kB / 1.25 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007211/1.089, allocations: 455.2 kB / 1.251 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/1.09, allocations: 127.7 kB / 1.251 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/1.092, allocations: 1.531 MB / 1.252 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/1.093, allocations: 0.9973 MB / 1.253 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005175/1.094, allocations: 138.7 kB / 1.253 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/1.094, allocations: 79.41 kB / 1.253 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/1.094, allocations: 0 / 1.253 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of Templates: time 0.02118/1.115, allocations: 10.99 MB / 1.264 GB, free: 2.875 MB / 0.9825 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 -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/jenkins/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.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