Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optStaHea.tOpt|TSetHea.y|optStaHea.TZon|optStaHea.optOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optStaHea.tOpt|TSetHea.y|optStaHea.TZon|optStaHea.optOn",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001534, allocations: 112.6 kB / 16.37 MB, free: 6 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.001252/0.001252, allocations: 196 kB / 17.31 MB, free: 5.613 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.512/2.512, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.97 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3221, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.006936/0.3291, allocations: 5.258 MB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004628/0.3338, allocations: 2.498 MB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.3349, allocations: 39.88 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.3354, allocations: 158.2 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004153/0.3359, allocations: 126.7 kB / 1.035 GB, free: 9.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.3375, allocations: 0.7052 MB / 1.035 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.3389, allocations: 1.454 MB / 1.037 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.3404, allocations: 1.154 MB / 1.038 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005215/0.3409, allocations: 498.4 kB / 1.038 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000491/0.3414, allocations: 0.5171 MB / 1.039 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.3416, allocations: 176 kB / 1.039 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.342, allocations: 275.9 kB / 1.039 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.3423, allocations: 331.1 kB / 1.04 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005214/0.3428, allocations: 0.6143 MB / 1.04 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.3446, allocations: 1.912 MB / 1.042 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3447, allocations: 0 / 1.042 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3447, allocations: 4 kB / 1.042 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.322e-05/0.3447, allocations: 0 / 1.042 GB, free: 2.305 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002555/0.3473, allocations: 1.389 MB / 1.043 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.3473, allocations: 12.03 kB / 1.043 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.3475, allocations: 119.6 kB / 1.044 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.3486, allocations: 0.6947 MB / 1.044 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.933e-05/0.3487, allocations: 98.19 kB / 1.044 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.3488, allocations: 120.3 kB / 1.044 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.3506, allocations: 1.083 MB / 1.045 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.3506, allocations: 3.938 kB / 1.045 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.492e-05/0.3507, allocations: 43.98 kB / 1.046 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.3508, allocations: 24 kB / 1.046 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.3522, allocations: 0.73 MB / 1.046 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004992/0.3572, allocations: 3.806 MB / 1.05 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.3593, allocations: 1.081 MB / 1.051 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/0.36, allocations: 425.7 kB / 1.051 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.114e-05/0.36, allocations: 20.62 kB / 1.051 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.3611, allocations: 0.6474 MB / 1.052 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=105): time 2.545e-06/0.3611, allocations: 0 / 1.052 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=105): time 0.002398/0.3635, allocations: 1.253 MB / 1.053 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.3636, allocations: 157.4 kB / 1.053 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/0.3643, allocations: 0.5374 MB / 1.054 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.3644, allocations: 85.69 kB / 1.054 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.3648, allocations: 412.6 kB / 1.054 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.365, allocations: 284.3 kB / 1.055 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/0.3654, allocations: 254.9 kB / 1.055 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.3655, allocations: 398.8 kB / 1.055 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/0.3662, allocations: 370 kB / 1.056 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008848/0.3671, allocations: 0.6455 MB / 1.056 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.3684, allocations: 0.8643 MB / 1.057 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.3685, allocations: 8 kB / 1.057 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.001886/0.3704, allocations: 1.099 MB / 1.058 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.3704, allocations: 11.98 kB / 1.058 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.3704, allocations: 8 kB / 1.058 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.3705, allocations: 12 kB / 1.058 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/0.3711, allocations: 159.7 kB / 1.058 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.3711, allocations: 20.42 kB / 1.058 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/0.3717, allocations: 134.9 kB / 1.059 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.964e-05/0.3718, allocations: 48 kB / 1.059 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009649/0.3728, allocations: 0.5533 MB / 1.059 GB, free: 144 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008642/0.3736, allocations: 0.63 MB / 1.06 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001271/0.3749, allocations: 0.8555 MB / 1.061 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/0.3749, allocations: 0 / 1.061 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.001884/0.3768, allocations: 1.076 MB / 1.062 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3769, allocations: 8 kB / 1.062 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.3769, allocations: 8 kB / 1.062 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3769, allocations: 12 kB / 1.062 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/0.3775, allocations: 159.6 kB / 1.062 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.3775, allocations: 19.92 kB / 1.062 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/0.3781, allocations: 131.3 kB / 1.062 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.71e-05/0.3782, allocations: 48 kB / 1.062 GB, free: 13 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 110 ($PRE.optStaHea.optHea.truHol.onDelay.u,$PRE.optStaHea.optHea.truHol.toOutputTrue.enableFire,$PRE.optStaHea.optHea.truHol.toInitial.enableFire,$PRE.optStaHea.optHea.lat.y,optStaHea.optHea.tim.passed,$PRE.optStaHea.optHea.tim.passed,$PRE.optStaHea.optHea.truHol.onDelay.t_next,$whenCondition12,optStaHea.optHea.truHol.onDelay.t_next,optStaHea.optHea.triAve.y,optStaHea.optHea.triAve.u2,optStaHea.optHea.reqStaUp.y,optStaHea.optHea.triSam1.y,$PRE.optStaHea.optHea.triSam1.y,optStaHea.optHea.triSam.y,$PRE.optStaHea.optHea.triSam.y,optStaHea.optHea.dTHVACOn.y,$PRE.optStaHea.optHea.dTHVACOn.y,optStaHea.optHea.dTCalOn.y,$PRE.optStaHea.optHea.dTCalOn.y,optStaHea.optHea.samTemSloAve.ySample[3],$PRE.optStaHea.optHea.samTemSloAve.ySample[3],optStaHea.optHea.samTemSloAve.ySample[2],$PRE.optStaHea.optHea.samTemSloAve.ySample[2],optStaHea.optHea.samTemSloAve.ySample[1],$PRE.optStaHea.optHea.samTemSloAve.ySample[1],optStaHea.optHea.samTemSloAve.index,optStaHea.optHea.samTemSloAve.counter,$PRE.optStaHea.optHea.samTemSloAve.counter,optStaHea.optHea.samTemSloAve.iSample,$PRE.optStaHea.optHea.samTemSloAve.iSample,optStaHea.optHea.samTemSloAve.y,$whenCondition16,occSch.tNext,$PRE.occSch.tNext,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tOcc,$PRE.occSch.tOcc,occSch.occupied,$PRE.occSch.occupied,optStaHea.falEdg.not_u,$PRE.optStaHea.falEdg.not_u,optStaHea.hysSta.greHys.y,$PRE.optStaHea.hysSta.greHys.y,optStaHea.optHea.greThr.y,optStaHea.optHea.samTimOpt.y,$PRE.optStaHea.optHea.samTimOpt.y,optStaHea.optHea.tim.entryTime,$PRE.optStaHea.optHea.tim.entryTime,optStaHea.optHea.lat.y,optStaHea.optHea.lat.clr,$PRE.optStaHea.optHea.lat.clr,optStaHea.optHea.lat.u,$PRE.optStaHea.optHea.lat.u,optStaHea.optHea.pre.u,$PRE.optStaHea.optHea.pre.u,optStaHea.optHea.truHol.toInitial.enableFire,optStaHea.optHea.truHol.toOutputTrue.enableFire,optStaHea.optHea.truHol.outputTrue.active,optStaHea.optHea.truHol.outputTrue.oldActive,$PRE.optStaHea.optHea.truHol.outputTrue.oldActive,optStaHea.optHea.truHol.outputTrue.newActive,$PRE.optStaHea.optHea.truHol.outputTrue.newActive,optStaHea.optHea.truHol.outputTrue.localActive,$PRE.optStaHea.optHea.truHol.outputTrue.localActive,optStaHea.optHea.truHol.initialStep.oldActive,$PRE.optStaHea.optHea.truHol.initialStep.oldActive,optStaHea.optHea.truHol.initialStep.newActive,$PRE.optStaHea.optHea.truHol.initialStep.newActive,optStaHea.optHea.truHol.initialStep.localActive,$PRE.optStaHea.optHea.truHol.initialStep.localActive,optStaHea.optHea.truHol.initialStep.active,optStaHea.optHea.truHol.onDelay.y,optStaHea.optHea.truHol.onDelay.u,optStaHea.optHea.truHol.stateGraphRoot.activeSteps,optStaHea.optHea.hysOpt.y,$PRE.optStaHea.optHea.hysOpt.y,optStaHea.optHea.hys.y,$PRE.optStaHea.optHea.hys.y,optStaHea.optHea.falEdg.not_u,$PRE.optStaHea.optHea.falEdg.not_u,optStaHea.optHea.falEdg.y,optStaHea.optHea.edg.y,optStaHea.optHea.edg.u,$PRE.optStaHea.optHea.edg.u,optStaHea.optHea.staCal,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition10,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition15,optStaHea.optHea.truHol.toOutputTrue.t_start,$PRE.optStaHea.optHea.truHol.toOutputTrue.t_start,optStaHea.optHea.truHol.toInitial.t_start,$PRE.optStaHea.optHea.truHol.toInitial.t_start,optStaHea.optHea.truHol.stateGraphRoot.resume,optStaHea.optHea.truHol.stateGraphRoot.suspend,conPID.con1.y,optStaHea.con3.y,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 157 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004214/0.3786, allocations: 329.5 kB / 1.062 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.3788, allocations: 86.98 kB / 1.062 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/0.3807, allocations: 0.9784 MB / 1.063 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.3807, allocations: 15.94 kB / 1.063 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3807, allocations: 0 / 1.063 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.3808, allocations: 3.984 kB / 1.063 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003703/0.3845, allocations: 2.207 MB / 1.066 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3845, allocations: 0 / 1.066 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.3849, allocations: 83.83 kB / 1.066 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.3849, allocations: 4 kB / 1.066 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/0.3849, allocations: 27.97 kB / 1.066 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.207e-06/0.385, allocations: 7.938 kB / 1.066 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.385, allocations: 4 kB / 1.066 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.3873, allocations: 1.509 MB / 1.067 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.3877, allocations: 239.9 kB / 1.067 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.3878, allocations: 48.05 kB / 1.067 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.3882, allocations: 47.89 kB / 1.067 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.3884, allocations: 100.9 kB / 1.068 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.607e-05/0.3885, allocations: 43.97 kB / 1.068 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004054/0.3889, allocations: 342.9 kB / 1.068 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3889, allocations: 0 / 1.068 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001475/0.3904, allocations: 434.4 kB / 1.068 GB, free: 6.402 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (TRoo.y,conPID.I.y) * Number of discrete variables: 69 (optStaHea.optHea.truHol.toInitial.t_start,optStaHea.optHea.truHol.toOutputTrue.t_start,optStaHea.optHea.triAve.y,optStaHea.optHea.edg.y,optStaHea.optHea.falEdg.y,optStaHea.optHea.truHol.initialStep.localActive,optStaHea.optHea.truHol.outputTrue.localActive,optStaHea.optHea.truHol.onDelay.u,optStaHea.optHea.truHol.outputTrue.active,optStaHea.optHea.staCal,$cse1,$cse2,$whenCondition16,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition1,optStaHea.optHea.samTemSloAve.y,optStaHea.optHea.samTemSloAve.iSample,optStaHea.optHea.samTemSloAve.counter,optStaHea.optHea.samTemSloAve.index,optStaHea.optHea.samTemSloAve.ySample[1],optStaHea.optHea.samTemSloAve.ySample[2],optStaHea.optHea.samTemSloAve.ySample[3],optStaHea.optHea.dTCalOn.y,optStaHea.optHea.dTHVACOn.y,optStaHea.optHea.edg.u,optStaHea.optHea.falEdg.not_u,optStaHea.optHea.hys.y,optStaHea.optHea.hysOpt.y,optStaHea.optHea.truHol.stateGraphRoot.activeSteps,optStaHea.optHea.truHol.onDelay.y,optStaHea.optHea.truHol.onDelay.t_next,optStaHea.optHea.truHol.initialStep.active,optStaHea.optHea.truHol.initialStep.newActive,optStaHea.optHea.truHol.initialStep.oldActive,optStaHea.optHea.truHol.outputTrue.newActive,optStaHea.optHea.truHol.outputTrue.oldActive,optStaHea.optHea.truHol.toOutputTrue.enableFire,optStaHea.optHea.truHol.toInitial.enableFire,optStaHea.optHea.pre.u,optStaHea.optHea.triSam.y,optStaHea.optHea.triSam1.y,optStaHea.optHea.lat.u,optStaHea.optHea.lat.clr,optStaHea.optHea.lat.y,optStaHea.optHea.tim.passed,optStaHea.optHea.tim.entryTime,optStaHea.optHea.samTimOpt.y,optStaHea.optHea.greThr.y,optStaHea.optHea.reqStaUp.y,optStaHea.optHea.triAve.u2,optStaHea.hysSta.greHys.y,optStaHea.falEdg.not_u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext) * Number of discrete states: 22 (optStaHea.optHea.truHol.onDelay.t_next,occSch.tNext,optStaHea.hysSta.greHys.y,optStaHea.falEdg.not_u,optStaHea.optHea.pre.u,optStaHea.optHea.truHol.outputTrue.newActive,optStaHea.optHea.tim.entryTime,optStaHea.optHea.truHol.initialStep.newActive,optStaHea.optHea.hys.y,optStaHea.optHea.lat.u,optStaHea.optHea.lat.clr,optStaHea.optHea.lat.y,optStaHea.optHea.falEdg.not_u,optStaHea.optHea.edg.u,optStaHea.optHea.samTemSloAve.iSample,optStaHea.optHea.samTemSloAve.ySample[1],optStaHea.optHea.samTemSloAve.ySample[2],optStaHea.optHea.samTemSloAve.ySample[3],optStaHea.optHea.samTemSloAve.counter,optStaHea.optHea.hysOpt.y,optStaHea.optHea.truHol.toOutputTrue.t_start,optStaHea.optHea.truHol.toInitial.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005361/0.3909, allocations: 247 kB / 1.069 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003294/0.3943, allocations: 1.545 MB / 1.07 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.3943, allocations: 8 kB / 1.07 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.3953, allocations: 489.5 kB / 1.071 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009885/0.3963, allocations: 138.4 kB / 1.071 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/0.4001, allocations: 1.566 MB / 1.072 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009586/0.4011, allocations: 1.005 MB / 1.073 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007566/0.4019, allocations: 138.9 kB / 1.073 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.4021, allocations: 83.41 kB / 1.073 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of SimCode: time 1.873e-06/0.4021, allocations: 0 / 1.073 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of Templates: time 0.6248/1.027, allocations: 10.97 MB / 1.084 GB, free: 52 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,optStaHea.tOpt,TSetHea.y,optStaHea.TZon,optStaHea.optOn Variables in the result:QHea.k,TOut.amplitude,TOut.freqHz,TOut.offset,TOut.phase,TOut.startTime,TRoo.initType,TRoo.k,TRoo.y,TRoo.y_start,TSetHea.realFalse,TSetHea.realTrue,TSetHea.y,TSetHeaOcc.k,TSetHeaOcc.y,UA.k,booToRea.realFalse,booToRea.realTrue,conPID.Dzero.k,conPID.I.k,conPID.I.y_start,conPID.Nd,conPID.Ni,conPID.P.k,conPID.Td,conPID.Ti,conPID.antWinGai.k,conPID.assMesYMinMax.u,conPID.cheYMinMax.k,conPID.cheYMinMax.y,conPID.con.k,conPID.con1.k,conPID.controllerType,conPID.k,conPID.lim.uMax,conPID.lim.uMin,conPID.r,conPID.revAct,conPID.reverseActing,conPID.uMea_revAct.k,conPID.uS_revAct.k,conPID.with_D,conPID.with_I,conPID.xi_start,conPID.yMax,conPID.yMin,conPID.yd_start,occSch.firstEntryOccupied,occSch.nRow,occSch.occupancy[1],occSch.occupancy[2],occSch.period,optStaHea.TSetZonHea,optStaHea.TZon,optStaHea.addPar.p,optStaHea.computeCooling,optStaHea.computeHeating,optStaHea.con1.k,optStaHea.con3.k,optStaHea.dTHea.u1,optStaHea.falEdg.pre_u_start,optStaHea.hysSta.greHys.h,optStaHea.hysSta.greHys.pre_y_start,optStaHea.hysSta.greHys.t,optStaHea.hysSta.h,optStaHea.hysSta.have_hysteresis,optStaHea.hysSta.pre_y_start,optStaHea.hysSta.t,optStaHea.nDay,optStaHea.optHea.con.k,optStaHea.optHea.dTCalOn.y_start,optStaHea.optHea.dTHVACOn.y_start,optStaHea.optHea.defTemSlo.k,optStaHea.optHea.edg.pre_u_start,optStaHea.optHea.falEdg.pre_u_start,optStaHea.optHea.greThr.greNoHys.t,optStaHea.optHea.greThr.h,optStaHea.optHea.greThr.have_hysteresis,optStaHea.optHea.greThr.pre_y_start,optStaHea.optHea.greThr.t,optStaHea.optHea.hys.pre_y_start,optStaHea.optHea.hys.uHigh,optStaHea.optHea.hys.uLow,optStaHea.optHea.hysOpt.pre_y_start,optStaHea.optHea.hysOpt.uHigh,optStaHea.optHea.hysOpt.uLow,optStaHea.optHea.lat.u,optStaHea.optHea.maxStaTim.k,optStaHea.optHea.maxStaTim.y,optStaHea.optHea.min.u2,optStaHea.optHea.nDay,optStaHea.optHea.pre.pre_u_start,optStaHea.optHea.reqStaUp.greNoHys.t,optStaHea.optHea.reqStaUp.h,optStaHea.optHea.reqStaUp.have_hysteresis,optStaHea.optHea.reqStaUp.pre_y_start,optStaHea.optHea.reqStaUp.t,optStaHea.optHea.samTemSloAve.n,optStaHea.optHea.samTimOpt.y_start,optStaHea.optHea.samTri.period,optStaHea.optHea.samTri.shift,optStaHea.optHea.samTri.t0,optStaHea.optHea.tOptMax,optStaHea.optHea.thrOptOn,optStaHea.optHea.tim.t,optStaHea.optHea.timReaMin.k,optStaHea.optHea.triSam.y_start,optStaHea.optHea.triSam1.y_start,optStaHea.optHea.truHol.duration,optStaHea.optHea.truHol.initialStep.nIn,optStaHea.optHea.truHol.initialStep.nOut,optStaHea.optHea.truHol.onDelay.delayOnInit,optStaHea.optHea.truHol.onDelay.delayTime,optStaHea.optHea.truHol.onDelay.t_past,optStaHea.optHea.truHol.outputTrue.nIn,optStaHea.optHea.truHol.outputTrue.nOut,optStaHea.optHea.truHol.toInitial.enableTimer,optStaHea.optHea.truHol.toInitial.waitTime,optStaHea.optHea.truHol.toOutputTrue.enableTimer,optStaHea.optHea.truHol.toOutputTrue.waitTime,optStaHea.optHea.uHigh,optStaHea.optHea.uLow,optStaHea.optOn,optStaHea.tOpt,optStaHea.tOptMax,optStaHea.thrOptOn,optStaHea.uHigh,optStaHea.uLow,time