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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00837/0.00837, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001733/0.001733, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.6 MB / 0.7453 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001372, allocations: 63.89 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.052, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.008045/1.06, allocations: 5.25 MB / 1.231 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005696/1.066, allocations: 2.446 MB / 1.233 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/1.068, allocations: 35.81 kB / 1.233 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006028/1.068, allocations: 162.2 kB / 1.233 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005271/1.069, allocations: 126.7 kB / 1.233 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001895/1.071, allocations: 0.6825 MB / 1.234 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001456/1.072, allocations: 1.442 MB / 1.236 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/1.074, allocations: 1.139 MB / 1.237 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005726/1.074, allocations: 0.4905 MB / 1.237 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005502/1.075, allocations: 0.5016 MB / 1.238 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001967/1.075, allocations: 175.9 kB / 1.238 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004309/1.076, allocations: 267.8 kB / 1.238 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002957/1.076, allocations: 331.2 kB / 1.238 GB, free: 440 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000497/1.076, allocations: 0.5988 MB / 1.239 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/1.078, allocations: 1.908 MB / 1.241 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.078, allocations: 0 / 1.241 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/1.078, allocations: 0 / 1.241 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.981e-05/1.078, allocations: 4 kB / 1.241 GB, free: 13.91 MB / 0.9669 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.002576/1.081, allocations: 1.406 MB / 1.242 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.081, allocations: 8.031 kB / 1.242 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/1.081, allocations: 132.2 kB / 1.242 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009454/1.082, allocations: 0.687 MB / 1.243 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.452e-05/1.082, allocations: 90.36 kB / 1.243 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/1.082, allocations: 116.4 kB / 1.243 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/1.084, allocations: 1.071 MB / 1.244 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/1.084, allocations: 7.875 kB / 1.244 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-05/1.084, allocations: 43.98 kB / 1.244 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/1.084, allocations: 24 kB / 1.244 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/1.086, allocations: 0.7183 MB / 1.245 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005796/1.092, allocations: 3.78 MB / 1.249 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/1.094, allocations: 1.055 MB / 1.25 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006847/1.095, allocations: 421.6 kB / 1.25 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.326e-05/1.095, allocations: 14.38 kB / 1.25 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/1.096, allocations: 0.5772 MB / 1.251 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=101): time 3.025e-06/1.096, allocations: 0 / 1.251 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of matching and sorting (n=101): time 0.002416/1.098, allocations: 1.195 MB / 1.252 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/1.098, allocations: 153.5 kB / 1.252 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/1.099, allocations: 0.5341 MB / 1.253 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/1.099, allocations: 81.69 kB / 1.253 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/1.1, allocations: 425.4 kB / 1.253 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/1.1, allocations: 289.7 kB / 1.253 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003404/1.1, allocations: 242.9 kB / 1.253 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002618/1.1, allocations: 394.7 kB / 1.254 GB, free: 104 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009779/1.101, allocations: 350 kB / 1.254 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/1.102, allocations: 0.625 MB / 1.255 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/1.104, allocations: 0.843 MB / 1.256 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.104, allocations: 0 / 1.256 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001839/1.106, allocations: 1.068 MB / 1.257 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/1.106, allocations: 11.94 kB / 1.257 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/1.106, allocations: 12.06 kB / 1.257 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/1.106, allocations: 12 kB / 1.257 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/1.106, allocations: 159.7 kB / 1.257 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/1.106, allocations: 15.94 kB / 1.257 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005695/1.107, allocations: 127.2 kB / 1.257 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/1.107, allocations: 43.98 kB / 1.257 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009727/1.108, allocations: 0.5377 MB / 1.258 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008981/1.109, allocations: 0.6056 MB / 1.258 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001232/1.11, allocations: 0.8274 MB / 1.259 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/1.11, allocations: 0 / 1.259 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=157) (initialization_lambda0): time 0.001611/1.112, allocations: 1.033 MB / 1.26 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/1.112, allocations: 9.094 kB / 1.26 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.112, allocations: 8 kB / 1.26 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/1.112, allocations: 12 kB / 1.26 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/1.112, allocations: 156.3 kB / 1.26 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/1.112, allocations: 15.94 kB / 1.26 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/1.113, allocations: 139.2 kB / 1.26 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/1.113, allocations: 43.98 kB / 1.26 GB, free: 9.07 MB / 0.9825 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.0004029/1.113, allocations: 329.4 kB / 1.261 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/1.114, allocations: 75.53 kB / 1.261 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/1.116, allocations: 0.9276 MB / 1.262 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/1.116, allocations: 16 kB / 1.262 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/1.116, allocations: 4 kB / 1.262 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/1.116, allocations: 3.984 kB / 1.262 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/1.119, allocations: 2.118 MB / 1.264 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.119, allocations: 0 / 1.264 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/1.119, allocations: 83.83 kB / 1.264 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/1.119, allocations: 4 kB / 1.264 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-05/1.119, allocations: 35.91 kB / 1.264 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/1.119, allocations: 4 kB / 1.264 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.119, allocations: 0 / 1.264 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/1.122, allocations: 1.443 MB / 1.265 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/1.122, allocations: 248.3 kB / 1.265 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/1.122, allocations: 39.92 kB / 1.266 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/1.122, allocations: 43.95 kB / 1.266 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/1.123, allocations: 88.88 kB / 1.266 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-05/1.123, allocations: 39.97 kB / 1.266 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005346/1.123, allocations: 338.9 kB / 1.266 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.123, allocations: 4.062 kB / 1.266 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00137/1.125, allocations: 438.7 kB / 1.266 GB, free: 2.699 MB / 0.9825 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.0004045/1.125, allocations: 233.5 kB / 1.267 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002725/1.128, allocations: 1.478 MB / 1.268 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.128, allocations: 0 / 1.268 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007896/1.129, allocations: 449.5 kB / 1.269 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008254/1.13, allocations: 133.1 kB / 1.269 GB, free: 416 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/1.133, allocations: 1.56 MB / 1.27 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006468/1.133, allocations: 1.005 MB / 1.271 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005207/1.134, allocations: 130.7 kB / 1.271 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/1.134, allocations: 75.41 kB / 1.271 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.134, allocations: 0 / 1.271 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of Templates: time 0.01989/1.154, allocations: 10.72 MB / 1.282 GB, free: 2.922 MB / 0.9981 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