Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005343/0.005343, allocations: 101.9 kB / 15.73 MB, free: 6.012 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.0014/0.0014, allocations: 193.3 kB / 16.67 MB, free: 5.949 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 59.91 kB / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3437, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.008526/0.3522, allocations: 5.249 MB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006105/0.3584, allocations: 2.446 MB / 1.215 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.36, allocations: 35.81 kB / 1.215 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008049/0.3609, allocations: 154.3 kB / 1.215 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.362, allocations: 130.6 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.3642, allocations: 0.6883 MB / 1.216 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002068/0.3663, allocations: 1.438 MB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.3682, allocations: 1.131 MB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008129/0.369, allocations: 0.4944 MB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007823/0.3698, allocations: 0.4977 MB / 1.219 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002834/0.3701, allocations: 171.9 kB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.3705, allocations: 279.8 kB / 1.22 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.3708, allocations: 327.2 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004897/0.3713, allocations: 0.591 MB / 1.221 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.3731, allocations: 1.908 MB / 1.222 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3731, allocations: 0 / 1.222 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3731, allocations: 0 / 1.222 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.604e-05/0.3732, allocations: 0 / 1.222 GB, free: 10.56 MB / 0.9825 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.002511/0.3757, allocations: 1.379 MB / 1.224 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.3757, allocations: 12.62 kB / 1.224 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.3759, allocations: 148.4 kB / 1.224 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.3761, allocations: 131.5 kB / 1.224 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.3772, allocations: 0.6827 MB / 1.225 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.19e-05/0.3773, allocations: 86.36 kB / 1.225 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.3774, allocations: 112.4 kB / 1.225 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.3792, allocations: 1.075 MB / 1.226 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.3792, allocations: 7.938 kB / 1.226 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.592e-05/0.3793, allocations: 47.91 kB / 1.226 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.3794, allocations: 24 kB / 1.226 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.3807, allocations: 0.7261 MB / 1.227 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004596/0.3853, allocations: 3.763 MB / 1.23 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.3873, allocations: 1.055 MB / 1.231 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000658/0.388, allocations: 417.6 kB / 1.232 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.3881, allocations: 10.38 kB / 1.232 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009639/0.389, allocations: 0.5889 MB / 1.232 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=101): time 2.524e-06/0.3891, allocations: 0 / 1.232 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101): time 0.002206/0.3913, allocations: 1.194 MB / 1.234 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.3914, allocations: 153.5 kB / 1.234 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006657/0.3921, allocations: 0.5336 MB / 1.234 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.3922, allocations: 81.69 kB / 1.234 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/0.3925, allocations: 412.5 kB / 1.235 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.3928, allocations: 272.4 kB / 1.235 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003421/0.3931, allocations: 255.1 kB / 1.235 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3933, allocations: 390.7 kB / 1.236 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006317/0.3939, allocations: 349.9 kB / 1.236 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008195/0.3947, allocations: 0.6212 MB / 1.237 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.396, allocations: 0.8403 MB / 1.237 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.396, allocations: 4 kB / 1.237 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001728/0.3978, allocations: 1.068 MB / 1.238 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.3978, allocations: 8 kB / 1.238 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.3978, allocations: 8 kB / 1.238 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.3979, allocations: 12 kB / 1.238 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/0.3984, allocations: 159.7 kB / 1.239 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.3985, allocations: 16.44 kB / 1.239 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.399, allocations: 123 kB / 1.239 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/0.3991, allocations: 47.98 kB / 1.239 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008861/0.4, allocations: 0.5338 MB / 1.239 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007506/0.4007, allocations: 0.61 MB / 1.24 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001129/0.4019, allocations: 0.8274 MB / 1.241 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.366e-06/0.4019, allocations: 0 / 1.241 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of matching and sorting (n=157) (initialization_lambda0): time 0.001649/0.4035, allocations: 1.029 MB / 1.242 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4036, allocations: 13.59 kB / 1.242 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4036, allocations: 4 kB / 1.242 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.4036, allocations: 12 kB / 1.242 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005306/0.4041, allocations: 159.7 kB / 1.242 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/0.4042, allocations: 19.88 kB / 1.242 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.4047, allocations: 119.1 kB / 1.242 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.39e-05/0.4048, allocations: 52.14 kB / 1.242 GB, free: 5.625 MB / 0.9981 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.0003693/0.4051, allocations: 332.8 kB / 1.242 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.4053, allocations: 83 kB / 1.242 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.407, allocations: 0.9354 MB / 1.243 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.407, allocations: 12 kB / 1.243 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.407, allocations: 0 / 1.243 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.407, allocations: 3.984 kB / 1.243 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/0.4101, allocations: 2.117 MB / 1.245 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4102, allocations: 4 kB / 1.245 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.4105, allocations: 83.83 kB / 1.246 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.4105, allocations: 7.938 kB / 1.246 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/0.4106, allocations: 27.97 kB / 1.246 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.4106, allocations: 4 kB / 1.246 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4106, allocations: 0 / 1.246 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.4129, allocations: 1.434 MB / 1.247 GB, free: 500 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.4132, allocations: 239.9 kB / 1.247 GB, free: 240 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.4133, allocations: 43.92 kB / 1.247 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.4137, allocations: 48.02 kB / 1.247 GB, free: 148 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.4139, allocations: 88.88 kB / 1.247 GB, free: 56 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.4139, allocations: 39.97 kB / 1.247 GB, free: 16 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.7139/1.128, allocations: 336 kB / 1.248 GB, free: 37.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.32e-07/1.128, allocations: 0 / 1.248 GB, free: 37.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001973/1.13, allocations: 426.6 kB / 1.248 GB, free: 37.86 MB / 0.9981 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.00321/1.133, allocations: 2.108 MB / 1.25 GB, free: 37.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00267/1.136, allocations: 1.472 MB / 1.252 GB, free: 37.06 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.136, allocations: 0 / 1.252 GB, free: 37.06 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006595/1.136, allocations: 450.1 kB / 1.252 GB, free: 37.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007571/1.137, allocations: 133 kB / 1.252 GB, free: 37.04 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008381/1.146, allocations: 6.704 MB / 1.259 GB, free: 34.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/1.146, allocations: 1.001 MB / 1.26 GB, free: 33.99 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006521/1.147, allocations: 132.7 kB / 1.26 GB, free: 33.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/1.148, allocations: 339.5 kB / 1.26 GB, free: 33.97 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.148, allocations: 0 / 1.26 GB, free: 33.97 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0539/1.201, allocations: 17.48 MB / 1.277 GB, free: 32.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.665/10.87, allocations: 5.5 kB / 1.277 GB, free: 32.58 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating_fmu --startTime=-172800 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating.fmu > 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,QHea.u,QHea.y,TOut.amplitude,TOut.freqHz,TOut.offset,TOut.phase,TOut.startTime,TOut.y,TRoo.initType,TRoo.k,TRoo.u,TRoo.use_reset,TRoo.use_set,TRoo.y,TRoo.y_start,TSetHea.realFalse,TSetHea.realTrue,TSetHea.u,TSetHea.y,TSetHeaOcc.k,TSetHeaOcc.y,UA.k,UA.u,UA.y,add.u1,add.u2,add.y,booToRea.realFalse,booToRea.realTrue,booToRea.u,booToRea.y,conPID.I.k,conPID.I.trigger,conPID.I.u,conPID.I.y,conPID.I.y_reset_in,conPID.I.y_start,conPID.Nd,conPID.Ni,conPID.P.k,conPID.P.u,conPID.P.y,conPID.Td,conPID.Ti,conPID.controlError.u1,conPID.controlError.u2,conPID.controlError.y,conPID.controllerType,conPID.errI1.u1,conPID.errI1.u2,conPID.errI1.y,conPID.errI2.u1,conPID.errI2.u2,conPID.errI2.y,conPID.errP.u1,conPID.errP.u2,conPID.errP.y,conPID.k,conPID.lim.u,conPID.lim.uMax,conPID.lim.uMin,conPID.lim.y,conPID.r,conPID.reverseActing,conPID.u_m,conPID.u_s,conPID.xi_start,conPID.y,conPID.yMax,conPID.yMin,conPID.yd_start,dT.u1,dT.u2,dT.y,dTdt.u1,dTdt.u2,dTdt.y,der(TRoo.y),der(conPID.I.y),occSch.firstEntryOccupied,occSch.occupancy[1],occSch.occupancy[2],occSch.occupied,occSch.period,occSch.tNexNonOcc,occSch.tNexOcc,optStaHea.TSetZonHea,optStaHea.TZon,optStaHea.computeCooling,optStaHea.computeHeating,optStaHea.hysSta.h,optStaHea.hysSta.pre_y_start,optStaHea.hysSta.t,optStaHea.hysSta.u,optStaHea.hysSta.y,optStaHea.nDay,optStaHea.optHea.TDif,optStaHea.optHea.nDay,optStaHea.optHea.optOn,optStaHea.optHea.staCal,optStaHea.optHea.tNexOcc,optStaHea.optHea.tOpt,optStaHea.optHea.tOptMax,optStaHea.optHea.thrOptOn,optStaHea.optHea.uHigh,optStaHea.optHea.uLow,optStaHea.optOn,optStaHea.tNexOcc,optStaHea.tOpt,optStaHea.tOptMax,optStaHea.thrOptOn,optStaHea.uHigh,optStaHea.uLow,time