Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optCoo.tOpt|optSta.optHea.tOpt|optSta.optOn|optSta.optCoo.optOn|optSta.optHea.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optCoo.tOpt|optSta.optHea.tOpt|optSta.optOn|optSta.optCoo.optOn|optSta.optHea.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.385/1.385, allocations: 251.9 MB / 266.9 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.00157, allocations: 185.4 kB / 326.5 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008799/0.0008797, allocations: 80.62 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003307, allocations: 10.06 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2211, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.4041, allocations: 142.9 MB / 1.04 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.4044, allocations: 83.94 kB / 1.04 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5832/0.9876, allocations: 33.8 MB / 1.073 GB, free: 140.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.86e-06/0.9877, allocations: 1.375 kB / 1.073 GB, free: 140.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002231/0.9879, allocations: 38.97 kB / 1.073 GB, free: 140.9 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.007042/0.995, allocations: 2.196 MB / 1.075 GB, free: 139.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.995, allocations: 8.812 kB / 1.075 GB, free: 139.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.9963, allocations: 239.9 kB / 1.075 GB, free: 139.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003178/0.9995, allocations: 1.062 MB / 1.076 GB, free: 139.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.9998, allocations: 180 kB / 1.076 GB, free: 139.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007642/1.001, allocations: 232.8 kB / 1.077 GB, free: 139.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004653/1.005, allocations: 2.156 MB / 1.079 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/1.005, allocations: 7.828 kB / 1.079 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/1.005, allocations: 91.2 kB / 1.079 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.766e-05/1.006, allocations: 45.88 kB / 1.079 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/1.009, allocations: 1.524 MB / 1.08 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009413/1.018, allocations: 7.24 MB / 1.087 GB, free: 136.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003993/1.022, allocations: 1.95 MB / 1.089 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.67e-05/1.022, allocations: 26.73 kB / 1.089 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001961/1.024, allocations: 1.291 MB / 1.091 GB, free: 135 MB / 0.698 GB Notification: Performance of pre-optimization done (n=205): time 3.807e-06/1.024, allocations: 3.562 kB / 1.091 GB, free: 135 MB / 0.698 GB Notification: Performance of matching and sorting (n=205): time 0.004865/1.029, allocations: 2.657 MB / 1.093 GB, free: 133.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.468e-05/1.029, allocations: 178.5 kB / 1.093 GB, free: 133.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/1.031, allocations: 0.8722 MB / 1.094 GB, free: 133.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003264/1.031, allocations: 143.5 kB / 1.094 GB, free: 133.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005225/1.031, allocations: 0.6972 MB / 1.095 GB, free: 132.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/1.032, allocations: 0.5367 MB / 1.096 GB, free: 132.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/1.032, allocations: 53.69 kB / 1.096 GB, free: 132.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.032, allocations: 399.5 kB / 1.096 GB, free: 131.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/1.033, allocations: 0.7586 MB / 1.097 GB, free: 131.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/1.035, allocations: 1.209 MB / 1.098 GB, free: 130.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/1.036, allocations: 0.8468 MB / 1.099 GB, free: 129.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/1.036, allocations: 3.656 kB / 1.099 GB, free: 129.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=310) (initialization): time 0.003857/1.04, allocations: 2.321 MB / 1.101 GB, free: 128.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008436/1.041, allocations: 3.898 MB / 1.105 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/1.041, allocations: 7.219 kB / 1.105 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.085e-05/1.041, allocations: 27.94 kB / 1.105 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.042, allocations: 324.6 kB / 1.105 GB, free: 124.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.451e-05/1.042, allocations: 25 kB / 1.105 GB, free: 124.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.044, allocations: 273.9 kB / 1.105 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/1.044, allocations: 98.64 kB / 1.105 GB, free: 124.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/1.044, allocations: 3.656 kB / 1.106 GB, free: 124.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0032/1.047, allocations: 2.144 MB / 1.108 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.047, allocations: 12 kB / 1.108 GB, free: 122.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/1.047, allocations: 32 kB / 1.108 GB, free: 122.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/1.048, allocations: 315.3 kB / 1.108 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/1.048, allocations: 27.92 kB / 1.108 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/1.05, allocations: 262.5 kB / 1.108 GB, free: 121.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/1.05, allocations: 93.94 kB / 1.108 GB, free: 121.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 209 ($PRE.optSta.optHea.truHol.onDelay.u,$PRE.optSta.optHea.truHol.toOutputTrue.enableFire,$PRE.optSta.optHea.truHol.toInitial.enableFire,$PRE.optSta.optHea.lat.y,$PRE.optSta.optCoo.truHol.onDelay.u,$PRE.optSta.optCoo.truHol.toOutputTrue.enableFire,$PRE.optSta.optCoo.truHol.toInitial.enableFire,$PRE.optSta.optCoo.lat.y,$PRE.optSta.optCoo.tim.yAcc,optSta.optCoo.tim.yAcc,$PRE.optSta.optHea.tim.yAcc,optSta.optHea.tim.yAcc,$whenCondition17,$PRE.optSta.optCoo.truHol.onDelay.t_next,$whenCondition4,$PRE.optSta.optHea.truHol.onDelay.t_next,$whenCondition1,optSta.optHea.lesEquThr2.y,$whenCondition15,optSta.optCoo.lesEquThr2.y,optSta.optCoo.truHol.onDelay.t_next,optSta.optCoo.triMovMea.y,$PRE.optSta.optCoo.triMovMea.iSample,optSta.optCoo.triMovMea.iSample,$PRE.optSta.optCoo.triMovMea.counter,optSta.optCoo.triMovMea.counter,optSta.optCoo.triMovMea.index,$PRE.optSta.optCoo.triMovMea.ySample[1],optSta.optCoo.triMovMea.ySample[1],$PRE.optSta.optCoo.triMovMea.ySample[2],optSta.optCoo.triMovMea.ySample[2],$PRE.optSta.optCoo.triMovMea.ySample[3],optSta.optCoo.triMovMea.ySample[3],$PRE.optSta.optCoo.triSam2.y,optSta.optCoo.triSam2.y,$PRE.optSta.optCoo.triSam3.y,optSta.optCoo.triSam3.y,optSta.optCoo.lesEquThr.y,optSta.optCoo.lesEquThr1.y,$PRE.optSta.optCoo.triSam.y,optSta.optCoo.triSam.y,$PRE.optSta.optCoo.triSam1.y,optSta.optCoo.triSam1.y,optSta.optHea.truHol.onDelay.t_next,optSta.optHea.triMovMea.y,$PRE.optSta.optHea.triMovMea.iSample,optSta.optHea.triMovMea.iSample,$PRE.optSta.optHea.triMovMea.counter,optSta.optHea.triMovMea.counter,optSta.optHea.triMovMea.index,$PRE.optSta.optHea.triMovMea.ySample[1],optSta.optHea.triMovMea.ySample[1],$PRE.optSta.optHea.triMovMea.ySample[2],optSta.optHea.triMovMea.ySample[2],$PRE.optSta.optHea.triMovMea.ySample[3],optSta.optHea.triMovMea.ySample[3],$PRE.optSta.optHea.triSam2.y,optSta.optHea.triSam2.y,$PRE.optSta.optHea.triSam3.y,optSta.optHea.triSam3.y,optSta.optHea.lesEquThr.y,optSta.optHea.lesEquThr1.y,$PRE.optSta.optHea.triSam.y,optSta.optHea.triSam.y,$PRE.optSta.optHea.triSam1.y,optSta.optHea.triSam1.y,optSta.optHea.truHol.stateGraphRoot.resume,optSta.optHea.truHol.stateGraphRoot.suspend,optSta.optCoo.truHol.stateGraphRoot.resume,optSta.optCoo.truHol.stateGraphRoot.suspend,$whenCondition30,$whenCondition28,$whenCondition29,$whenCondition26,$whenCondition27,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition21,$whenCondition20,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition2,$PRE.optSta.hysSta.y,optSta.hysSta.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.optSta.optHea.edg.u,optSta.optHea.edg.u,optSta.optHea.edg.y,optSta.optHea.falEdg.y,$PRE.optSta.optHea.falEdg.not_u,optSta.optHea.falEdg.not_u,$PRE.optSta.optHea.hys.y,optSta.optHea.hys.y,$PRE.optSta.optHea.hysOpt.y,optSta.optHea.hysOpt.y,optSta.optHea.truHol.stateGraphRoot.activeSteps,optSta.optHea.truHol.onDelay.u,optSta.optHea.truHol.onDelay.y,$PRE.optSta.optHea.truHol.initialStep.localActive,optSta.optHea.truHol.initialStep.localActive,$PRE.optSta.optHea.truHol.initialStep.newActive,optSta.optHea.truHol.initialStep.newActive,$PRE.optSta.optHea.truHol.initialStep.oldActive,optSta.optHea.truHol.initialStep.oldActive,optSta.optHea.truHol.initialStep.active,$PRE.optSta.optHea.truHol.outputTrue.localActive,optSta.optHea.truHol.outputTrue.localActive,$PRE.optSta.optHea.truHol.outputTrue.newActive,optSta.optHea.truHol.outputTrue.newActive,$PRE.optSta.optHea.truHol.outputTrue.oldActive,optSta.optHea.truHol.outputTrue.oldActive,optSta.optHea.truHol.outputTrue.active,optSta.optHea.truHol.toOutputTrue.enableFire,optSta.optHea.truHol.toInitial.enableFire,$PRE.optSta.optHea.pre.u,optSta.optHea.pre.u,$PRE.optSta.optHea.lat.u,optSta.optHea.lat.u,$PRE.optSta.optHea.lat.clr,optSta.optHea.lat.clr,optSta.optHea.lat.y,$PRE.optSta.optHea.tim.entryTime,optSta.optHea.tim.entryTime,$PRE.optSta.optHea.triSam4.y,optSta.optHea.triSam4.y,optSta.optHea.and2.u1,optSta.optCoo.staCal,$PRE.optSta.optCoo.edg.u,optSta.optCoo.edg.u,optSta.optCoo.edg.y,optSta.optCoo.falEdg.y,$PRE.optSta.optCoo.falEdg.not_u,optSta.optCoo.falEdg.not_u,$PRE.optSta.optCoo.hys.y,optSta.optCoo.hys.y,$PRE.optSta.optCoo.hysOpt.y,optSta.optCoo.hysOpt.y,optSta.optCoo.truHol.stateGraphRoot.activeSteps,optSta.optCoo.truHol.onDelay.u,optSta.optCoo.truHol.onDelay.y,$PRE.optSta.optCoo.truHol.initialStep.localActive,optSta.optCoo.truHol.initialStep.localActive,$PRE.optSta.optCoo.truHol.initialStep.newActive,optSta.optCoo.truHol.initialStep.newActive,$PRE.optSta.optCoo.truHol.initialStep.oldActive,optSta.optCoo.truHol.initialStep.oldActive,optSta.optCoo.truHol.initialStep.active,$PRE.optSta.optCoo.truHol.outputTrue.localActive,optSta.optCoo.truHol.outputTrue.localActive,$PRE.optSta.optCoo.truHol.outputTrue.newActive,optSta.optCoo.truHol.outputTrue.newActive,$PRE.optSta.optCoo.truHol.outputTrue.oldActive,optSta.optCoo.truHol.outputTrue.oldActive,optSta.optCoo.truHol.outputTrue.active,optSta.optCoo.truHol.toOutputTrue.enableFire,optSta.optCoo.truHol.toInitial.enableFire,$PRE.optSta.optCoo.pre.u,optSta.optCoo.pre.u,$PRE.optSta.optCoo.lat.u,optSta.optCoo.lat.u,$PRE.optSta.optCoo.lat.clr,optSta.optCoo.lat.clr,optSta.optCoo.lat.y,$PRE.optSta.optCoo.tim.entryTime,optSta.optCoo.tim.entryTime,$PRE.optSta.optCoo.triSam4.y,optSta.optCoo.triSam4.y,optSta.optCoo.and2.u1,booToRea1.u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.optSta.optHea.tim.reset_internal,optSta.optHea.tim.reset_internal,$PRE.optSta.optCoo.tim.reset_internal,optSta.optCoo.tim.reset_internal,conPID.I.trigger_internal,conPID1.I.trigger_internal,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (304): * Single equations (assignments): 303 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.001378/1.051, allocations: 0.6704 MB / 1.109 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/1.052, allocations: 158.1 kB / 1.109 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003299/1.055, allocations: 2.08 MB / 1.111 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/1.055, allocations: 24 kB / 1.111 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/1.055, allocations: 0 / 1.111 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/1.055, allocations: 7.969 kB / 1.111 GB, free: 118.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005841/1.061, allocations: 4.413 MB / 1.115 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/1.061, allocations: 3.984 kB / 1.115 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007207/1.062, allocations: 179.8 kB / 1.116 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/1.062, allocations: 11.94 kB / 1.116 GB, free: 114 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/1.062, allocations: 63.92 kB / 1.116 GB, free: 114 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/1.062, allocations: 8 kB / 1.116 GB, free: 114 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.062, allocations: 0 / 1.116 GB, free: 114 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004534/1.066, allocations: 3.105 MB / 1.119 GB, free: 110.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/1.067, allocations: 234.9 kB / 1.119 GB, free: 110.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002963/1.067, allocations: 91.97 kB / 1.119 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000749/1.068, allocations: 123.9 kB / 1.119 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/1.068, allocations: 221.6 kB / 1.119 GB, free: 110.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/1.068, allocations: 87.92 kB / 1.119 GB, free: 110.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007262/1.069, allocations: 0.6046 MB / 1.12 GB, free: 109.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.069, allocations: 0 / 1.12 GB, free: 109.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002083/1.071, allocations: 0.725 MB / 1.121 GB, free: 108.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 131 (optSta.optHea.falEdg.y,optSta.optHea.edg.y,optSta.optCoo.falEdg.y,optSta.optCoo.edg.y,optSta.optCoo.staCal,optSta.optCoo.lesEquThr2.y,optSta.optCoo.truHol.onDelay.u,optSta.optCoo.truHol.outputTrue.localActive,optSta.optCoo.truHol.outputTrue.active,optSta.optCoo.truHol.initialStep.active,optSta.optHea.lesEquThr2.y,optSta.optHea.truHol.onDelay.u,optSta.optHea.truHol.outputTrue.localActive,optSta.optHea.truHol.outputTrue.active,optSta.optHea.truHol.initialStep.active,$cse1,$cse2,$cse3,$cse4,$whenCondition30,$whenCondition28,$whenCondition29,$whenCondition26,$whenCondition27,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition21,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition16,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition2,$whenCondition1,optSta.hysSta.y,optSta.falEdg.not_u,optSta.optHea.triMovMea.y,optSta.optHea.triMovMea.iSample,optSta.optHea.triMovMea.counter,optSta.optHea.triMovMea.index,optSta.optHea.triMovMea.ySample[1],optSta.optHea.triMovMea.ySample[2],optSta.optHea.triMovMea.ySample[3],optSta.optHea.triSam2.y,optSta.optHea.triSam3.y,optSta.optHea.edg.u,optSta.optHea.falEdg.not_u,optSta.optHea.hys.y,optSta.optHea.hysOpt.y,optSta.optHea.lesEquThr.y,optSta.optHea.lesEquThr1.y,optSta.optHea.truHol.stateGraphRoot.activeSteps,optSta.optHea.truHol.onDelay.y,optSta.optHea.truHol.onDelay.t_next,optSta.optHea.truHol.initialStep.localActive,optSta.optHea.truHol.initialStep.newActive,optSta.optHea.truHol.initialStep.oldActive,optSta.optHea.truHol.outputTrue.newActive,optSta.optHea.truHol.outputTrue.oldActive,optSta.optHea.truHol.toOutputTrue.enableFire,optSta.optHea.truHol.toInitial.enableFire,optSta.optHea.pre.u,optSta.optHea.triSam.y,optSta.optHea.triSam1.y,optSta.optHea.lat.u,optSta.optHea.lat.clr,optSta.optHea.lat.y,optSta.optHea.tim.entryTime,optSta.optHea.tim.yAcc,optSta.optHea.triSam4.y,optSta.optHea.and2.u1,optSta.optCoo.triMovMea.y,optSta.optCoo.triMovMea.iSample,optSta.optCoo.triMovMea.counter,optSta.optCoo.triMovMea.index,optSta.optCoo.triMovMea.ySample[1],optSta.optCoo.triMovMea.ySample[2],optSta.optCoo.triMovMea.ySample[3],optSta.optCoo.triSam2.y,optSta.optCoo.triSam3.y,optSta.optCoo.edg.u,optSta.optCoo.falEdg.not_u,optSta.optCoo.hys.y,optSta.optCoo.hysOpt.y,optSta.optCoo.lesEquThr.y,optSta.optCoo.lesEquThr1.y,optSta.optCoo.truHol.stateGraphRoot.activeSteps,optSta.optCoo.truHol.onDelay.y,optSta.optCoo.truHol.onDelay.t_next,optSta.optCoo.truHol.initialStep.localActive,optSta.optCoo.truHol.initialStep.newActive,optSta.optCoo.truHol.initialStep.oldActive,optSta.optCoo.truHol.outputTrue.newActive,optSta.optCoo.truHol.outputTrue.oldActive,optSta.optCoo.truHol.toOutputTrue.enableFire,optSta.optCoo.truHol.toInitial.enableFire,optSta.optCoo.pre.u,optSta.optCoo.triSam.y,optSta.optCoo.triSam1.y,optSta.optCoo.lat.u,optSta.optCoo.lat.clr,optSta.optCoo.lat.y,optSta.optCoo.tim.entryTime,optSta.optCoo.tim.yAcc,optSta.optCoo.triSam4.y,optSta.optCoo.and2.u1,booToRea1.u,occSch.occupied,occSch.nexStaInd,occSch.nexStoInd,occSch.iPerSta,occSch.iPerSto,occSch.tOcc,occSch.tNonOcc,pul.T_start,pul.count) * Number of discrete states: 44 (pul.count,occSch.tNonOcc,occSch.tOcc,optSta.optCoo.truHol.onDelay.t_next,optSta.optHea.truHol.onDelay.t_next,optSta.optHea.truHol.initialStep.newActive,optSta.optHea.truHol.outputTrue.newActive,optSta.optHea.pre.u,optSta.optCoo.truHol.initialStep.newActive,optSta.optCoo.truHol.outputTrue.newActive,optSta.optCoo.pre.u,optSta.optHea.hys.y,optSta.optHea.lat.u,optSta.optHea.lat.clr,optSta.optCoo.hys.y,optSta.optCoo.lat.u,optSta.optCoo.lat.clr,occSch.iPerSto,occSch.nexStoInd,occSch.occupied,occSch.nexStaInd,occSch.iPerSta,optSta.hysSta.y,optSta.falEdg.not_u,optSta.optCoo.tim.y,optSta.optCoo.lat.y,optSta.optCoo.edg.u,optSta.optCoo.falEdg.not_u,optSta.optCoo.triMovMea.iSample,optSta.optCoo.triMovMea.ySample[1],optSta.optCoo.triMovMea.ySample[2],optSta.optCoo.triMovMea.ySample[3],optSta.optCoo.triMovMea.counter,optSta.optCoo.hysOpt.y,optSta.optHea.tim.y,optSta.optHea.lat.y,optSta.optHea.edg.u,optSta.optHea.falEdg.not_u,optSta.optHea.triMovMea.iSample,optSta.optHea.triMovMea.ySample[1],optSta.optHea.triMovMea.ySample[2],optSta.optHea.triMovMea.ySample[3],optSta.optHea.triMovMea.counter,optSta.optHea.hysOpt.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 47 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000427/1.071, allocations: 319.3 kB / 1.121 GB, free: 108.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004966/1.076, allocations: 3.412 MB / 1.124 GB, free: 105 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/1.076, allocations: 0 / 1.124 GB, free: 105 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/1.078, allocations: 1.011 MB / 1.125 GB, free: 104 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/1.079, allocations: 209.6 kB / 1.126 GB, free: 103.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005091/1.084, allocations: 3.585 MB / 1.129 GB, free: 100.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/1.085, allocations: 1.362 MB / 1.13 GB, free: 98.78 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001248/1.086, allocations: 269.5 kB / 1.131 GB, free: 98.51 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/1.087, allocations: 147.4 kB / 1.131 GB, free: 98.37 MB / 0.698 GB Notification: Performance of SimCode: time 6.32e-07/1.087, allocations: 0 / 1.131 GB, free: 98.37 MB / 0.698 GB Notification: Performance of Templates: time 0.03349/1.12, allocations: 19.75 MB / 1.15 GB, free: 78.77 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeatingCooling.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeatingCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,optSta.tOpt,optSta.optCoo.tOpt,optSta.optHea.tOpt,optSta.optOn,optSta.optCoo.optOn,optSta.optHea.optOn,TSetHea.y,TSetCoo.y,optSta.TZon Variables in the result:QCoo.k,QHea.k,TOut.k1,TOut.k2,TOutBase.amplitude,TOutBase.freqHz,TOutBase.offset,TOutBase.phase,TOutBase.startTime,TRoo.initType,TRoo.k,TRoo.y,TRoo.y_start,TSetCoo.realFalse,TSetCoo.realTrue,TSetCoo.y,TSetCooOcc.k,TSetCooOcc.y,TSetHea.realFalse,TSetHea.realTrue,TSetHea.y,TSetHeaOcc.k,TSetHeaOcc.y,UA.k,add1.k1,add1.k2,add2.k1,add2.k2,booToRea1.realFalse,booToRea1.realTrue,booToRea1.u,booToRea2.realFalse,booToRea2.realTrue,conPID.Dzero.k,conPID.Dzero.y,conPID.I.k,conPID.I.reset,conPID.I.y_reset,conPID.I.y_reset_internal,conPID.I.y_start,conPID.Nd,conPID.Ni,conPID.Td,conPID.Ti,conPID.addPD.k1,conPID.addPD.k2,conPID.addPD.u2,conPID.addPID.k1,conPID.addPID.k2,conPID.antWinGai.k,conPID.assMesYMinMax.u,conPID.cheYMinMax.k,conPID.cheYMinMax.y,conPID.controllerType,conPID.gainPID.k,conPID.k,conPID.lim.uMax,conPID.lim.uMin,conPID.reset,conPID.revAct,conPID.reverseAction,conPID.uMea_revAct.k,conPID.uS_revAct.k,conPID.uSetWp.k,conPID.wd,conPID.with_D,conPID.with_I,conPID.wp,conPID.xi_start,conPID.yMax,conPID.yMin,conPID.y_reset,conPID.yd_start,conPID1.Dzero.k,conPID1.Dzero.y,conPID1.I.k,conPID1.I.reset,conPID1.I.y_reset,conPID1.I.y_reset_internal,conPID1.I.y_start,conPID1.Nd,conPID1.Ni,conPID1.Td,conPID1.Ti,conPID1.addPD.k1,conPID1.addPD.k2,conPID1.addPD.u2,conPID1.addPID.k1,conPID1.addPID.k2,conPID1.antWinGai.k,conPID1.assMesYMinMax.u,conPID1.cheYMinMax.k,conPID1.cheYMinMax.y,conPID1.controllerType,conPID1.gainPID.k,conPID1.k,conPID1.lim.uMax,conPID1.lim.uMin,conPID1.reset,conPID1.revAct,conPID1.reverseAction,conPID1.uMea_revAct.k,conPID1.uS_revAct.k,conPID1.uSetWp.k,conPID1.wd,conPID1.with_D,conPID1.with_I,conPID1.wp,conPID1.xi_start,conPID1.yMax,conPID1.yMin,conPID1.y_reset,conPID1.yd_start,dT.k1,dT.k2,mulSum.k[1],mulSum.k[2],mulSum.k[3],occSch.firstEntryOccupied,occSch.nRow,occSch.occupancy[1],occSch.occupancy[2],occSch.period,optSta.TSetZonCoo,optSta.TSetZonHea,optSta.TZon,optSta.addPar.k,optSta.addPar.p,optSta.computeCooling,optSta.computeHeating,optSta.dTCoo.k1,optSta.dTCoo.k2,optSta.dTCoo.u2,optSta.dTHea.k1,optSta.dTHea.k2,optSta.dTHea.u1,optSta.falEdg.pre_u_start,optSta.hysSta.pre_y_start,optSta.hysSta.uHigh,optSta.hysSta.uLow,optSta.nDay,optSta.optCoo.add1.k1,optSta.optCoo.add1.k2,optSta.optCoo.add2.k1,optSta.optCoo.add2.k2,optSta.optCoo.con.k,optSta.optCoo.con.y,optSta.optCoo.con1.k,optSta.optCoo.con1.y,optSta.optCoo.defOptTim.k,optSta.optCoo.defOptTim.y,optSta.optCoo.defTemSlo.k,optSta.optCoo.defTemSlo.y,optSta.optCoo.edg.pre_u_start,optSta.optCoo.falEdg.pre_u_start,optSta.optCoo.greThr.threshold,optSta.optCoo.hys.pre_y_start,optSta.optCoo.hys.uHigh,optSta.optCoo.hys.uLow,optSta.optCoo.hysOpt.pre_y_start,optSta.optCoo.hysOpt.uHigh,optSta.optCoo.hysOpt.uLow,optSta.optCoo.lat.pre_y_start,optSta.optCoo.lat.u,optSta.optCoo.lesEquThr.threshold,optSta.optCoo.lesEquThr1.threshold,optSta.optCoo.lesEquThr2.threshold,optSta.optCoo.max.u2,optSta.optCoo.maxStaTim.k,optSta.optCoo.maxStaTim.y,optSta.optCoo.min.u1,optSta.optCoo.mod.u2,optSta.optCoo.nDay,optSta.optCoo.optOn,optSta.optCoo.pre.pre_u_start,optSta.optCoo.swi.u1,optSta.optCoo.swi1.u1,optSta.optCoo.tOpt,optSta.optCoo.tOptDef,optSta.optCoo.tOptMax,optSta.optCoo.temSloDef,optSta.optCoo.thrOptOn,optSta.optCoo.tim.accumulate,optSta.optCoo.triMovMea.n,optSta.optCoo.triMovMea.t0,optSta.optCoo.triSam.y_start,optSta.optCoo.triSam1.y_start,optSta.optCoo.triSam2.y_start,optSta.optCoo.triSam3.y_start,optSta.optCoo.triSam4.y_start,optSta.optCoo.truHol.duration,optSta.optCoo.truHol.initialStep.nIn,optSta.optCoo.truHol.initialStep.nOut,optSta.optCoo.truHol.onDelay.delayOnInit,optSta.optCoo.truHol.onDelay.delayTime,optSta.optCoo.truHol.onDelay.t_past,optSta.optCoo.truHol.outputTrue.nIn,optSta.optCoo.truHol.outputTrue.nOut,optSta.optCoo.truHol.toInitial.enableTimer,optSta.optCoo.truHol.toInitial.waitTime,optSta.optCoo.truHol.toOutputTrue.enableTimer,optSta.optCoo.truHol.toOutputTrue.waitTime,optSta.optCoo.uHigh,optSta.optCoo.uLow,optSta.optHea.add1.k1,optSta.optHea.add1.k2,optSta.optHea.add2.k1,optSta.optHea.add2.k2,optSta.optHea.con.k,optSta.optHea.con.y,optSta.optHea.con1.k,optSta.optHea.con1.y,optSta.optHea.defOptTim.k,optSta.optHea.defOptTim.y,optSta.optHea.defTemSlo.k,optSta.optHea.defTemSlo.y,optSta.optHea.edg.pre_u_start,optSta.optHea.falEdg.pre_u_start,optSta.optHea.greThr.threshold,optSta.optHea.hys.pre_y_start,optSta.optHea.hys.uHigh,optSta.optHea.hys.uLow,optSta.optHea.hysOpt.pre_y_start,optSta.optHea.hysOpt.uHigh,optSta.optHea.hysOpt.uLow,optSta.optHea.lat.pre_y_start,optSta.optHea.lat.u,optSta.optHea.lesEquThr.threshold,optSta.optHea.lesEquThr1.threshold,optSta.optHea.lesEquThr2.threshold,optSta.optHea.max.u2,optSta.optHea.maxStaTim.k,optSta.optHea.maxStaTim.y,optSta.optHea.min.u1,optSta.optHea.mod.u2,optSta.optHea.nDay,optSta.optHea.optOn,optSta.optHea.pre.pre_u_start,optSta.optHea.swi.u1,optSta.optHea.swi1.u1,optSta.optHea.tOpt,optSta.optHea.tOptDef,optSta.optHea.tOptMax,optSta.optHea.temSloDef,optSta.optHea.thrOptOn,optSta.optHea.tim.accumulate,optSta.optHea.triMovMea.n,optSta.optHea.triMovMea.t0,optSta.optHea.triSam.y_start,optSta.optHea.triSam1.y_start,optSta.optHea.triSam2.y_start,optSta.optHea.triSam3.y_start,optSta.optHea.triSam4.y_start,optSta.optHea.truHol.duration,optSta.optHea.truHol.initialStep.nIn,optSta.optHea.truHol.initialStep.nOut,optSta.optHea.truHol.onDelay.delayOnInit,optSta.optHea.truHol.onDelay.delayTime,optSta.optHea.truHol.onDelay.t_past,optSta.optHea.truHol.outputTrue.nIn,optSta.optHea.truHol.outputTrue.nOut,optSta.optHea.truHol.toInitial.enableTimer,optSta.optHea.truHol.toInitial.waitTime,optSta.optHea.truHol.toOutputTrue.enableTimer,optSta.optHea.truHol.toOutputTrue.waitTime,optSta.optHea.uHigh,optSta.optHea.uLow,optSta.optOn,optSta.tOpt,optSta.tOptDef,optSta.tOptMax,optSta.thrOptOn,optSta.uHigh,optSta.uLow,pul.amplitude,pul.nperiod,pul.offset,pul.period,pul.startTime,pul.width,time