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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008389/0.0008389, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.001991, allocations: 443.8 kB / 10.29 MB, free: 404 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006897/0.0006897, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009442/0.001634, allocations: 475.6 kB / 11.64 MB, free: 2.531 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.966/0.966, allocations: 177.2 MB / 189.5 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09428/1.06, allocations: 53.65 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.43/2.43, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2469/2.677, allocations: 145.9 MB / 0.817 GB, free: 4.242 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 3.938 kB / 0.8182 GB, free: 3 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.196e-05, allocations: 2.312 kB / 0.8182 GB, free: 2.996 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.01012/0.01015, allocations: 4.317 MB / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.007886/0.01803, allocations: 2.246 MB / 0.8246 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005047/0.01854, allocations: 39.75 kB / 0.8246 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.01882, allocations: 126.5 kB / 0.8248 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.01919, allocations: 146.6 kB / 0.8249 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008272/0.02001, allocations: 0.5183 MB / 0.8254 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0009499/0.02096, allocations: 1.056 MB / 0.8264 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005611/0.02153, allocations: 368.6 kB / 0.8268 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007723/0.0223, allocations: 0.6617 MB / 0.8274 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.02267, allocations: 299 kB / 0.8277 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.0228, allocations: 112 kB / 0.8278 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003836/0.02318, allocations: 219.9 kB / 0.828 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.02335, allocations: 187.4 kB / 0.8282 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.02357, allocations: 235.5 kB / 0.8284 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007528/0.02432, allocations: 0.7081 MB / 0.8291 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.02434, allocations: 4 kB / 0.8291 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.102e-06/0.02434, allocations: 0 / 0.8291 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.02435, allocations: 0 / 0.8291 GB, free: 7.707 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.001487/0.02584, allocations: 1.249 MB / 0.8304 GB, free: 6.434 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.02588, allocations: 8.625 kB / 0.8304 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.187e-05/0.02597, allocations: 130.9 kB / 0.8305 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.02619, allocations: 217.9 kB / 0.8307 GB, free: 6.059 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.02667, allocations: 463.8 kB / 0.8311 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.02671, allocations: 62.38 kB / 0.8312 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.02678, allocations: 96.31 kB / 0.8313 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006791/0.02746, allocations: 0.6051 MB / 0.8319 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.02748, allocations: 4.188 kB / 0.8319 GB, free: 4.785 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/0.02754, allocations: 40.09 kB / 0.8319 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.02756, allocations: 20 kB / 0.8319 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.02787, allocations: 232.6 kB / 0.8322 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.02964, allocations: 1.674 MB / 0.8338 GB, free: 2.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/0.03022, allocations: 480.3 kB / 0.8343 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.03036, allocations: 126.8 kB / 0.8344 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.03039, allocations: 24.64 kB / 0.8344 GB, free: 2.137 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.03072, allocations: 343.2 kB / 0.8347 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 2.093e-06/0.03073, allocations: 0 / 0.8347 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of matching and sorting (n=89): time 0.0006311/0.03136, allocations: 466.3 kB / 0.8352 GB, free: 1.328 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.03142, allocations: 98.05 kB / 0.8353 GB, free: 1.211 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.03169, allocations: 431 kB / 0.8357 GB, free: 0.7773 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/0.03175, allocations: 65.7 kB / 0.8357 GB, free: 0.707 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.03189, allocations: 298.2 kB / 0.836 GB, free: 420 kB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.03202, allocations: 257.9 kB / 0.8363 GB, free: 160 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.03221, allocations: 198.8 kB / 0.8365 GB, free: 15.95 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.03233, allocations: 390.6 kB / 0.8368 GB, free: 15.56 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.03247, allocations: 100.9 kB / 0.8369 GB, free: 15.46 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.03272, allocations: 454.4 kB / 0.8374 GB, free: 14.92 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.03307, allocations: 408.4 kB / 0.8378 GB, free: 14.47 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.03307, allocations: 4 kB / 0.8378 GB, free: 14.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0005175/0.03359, allocations: 473.4 kB / 0.8382 GB, free: 14 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.03361, allocations: 12.34 kB / 0.8382 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.03362, allocations: 8 kB / 0.8382 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.03364, allocations: 8 kB / 0.8382 GB, free: 13.97 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.03394, allocations: 163.7 kB / 0.8384 GB, free: 13.81 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.03395, allocations: 11.98 kB / 0.8384 GB, free: 13.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.03413, allocations: 87.5 kB / 0.8385 GB, free: 13.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.03417, allocations: 31.98 kB / 0.8385 GB, free: 13.68 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002023/0.03437, allocations: 196.4 kB / 0.8387 GB, free: 13.48 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002343/0.03461, allocations: 446.4 kB / 0.8391 GB, free: 12.95 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003252/0.03493, allocations: 417.5 kB / 0.8395 GB, free: 12.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.083e-06/0.03493, allocations: 0 / 0.8395 GB, free: 12.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.0004429/0.03538, allocations: 477.3 kB / 0.84 GB, free: 12.02 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.03539, allocations: 10.81 kB / 0.84 GB, free: 12.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.0354, allocations: 4 kB / 0.84 GB, free: 12.01 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/0.0354, allocations: 8.406 kB / 0.84 GB, free: 12 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.03567, allocations: 167.7 kB / 0.8402 GB, free: 11.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.03568, allocations: 11.94 kB / 0.8402 GB, free: 11.83 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.03587, allocations: 91.48 kB / 0.8403 GB, free: 11.74 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.0359, allocations: 24 kB / 0.8403 GB, free: 11.71 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 87 (optStaHea.optHea.tim.passed,$PRE.optStaHea.optHea.tim.passed,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,$PRE.optStaHea.optHea.lat.y,optStaHea.optHea.lat.clr,optStaHea.optHea.lat.u,optStaHea.optHea.pre.u,$PRE.optStaHea.optHea.pre.u,optStaHea.optHea.truHol.timeTrigger,optStaHea.optHea.truHol.entryTimeFalse,$PRE.optStaHea.optHea.truHol.entryTimeFalse,optStaHea.optHea.truHol.entryTimeTrue,$PRE.optStaHea.optHea.truHol.entryTimeTrue,optStaHea.optHea.truHol.not_y,$PRE.optStaHea.optHea.truHol.not_y,optStaHea.optHea.truHol.not_u,$PRE.optStaHea.optHea.truHol.not_u,optStaHea.optHea.truHol.y,$PRE.optStaHea.optHea.truHol.y,optStaHea.optHea.truHol.u,$PRE.optStaHea.optHea.truHol.u,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,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,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,TRoo.local_reset,optStaHea.con3.y,conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * 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.0001824/0.03608, allocations: 301.5 kB / 0.8406 GB, free: 11.41 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.03615, allocations: 75.92 kB / 0.8406 GB, free: 11.33 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.03658, allocations: 387.4 kB / 0.841 GB, free: 10.94 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.03659, allocations: 15.92 kB / 0.841 GB, free: 10.93 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.03659, allocations: 0 / 0.841 GB, free: 10.93 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.0366, allocations: 7.984 kB / 0.841 GB, free: 10.92 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.03796, allocations: 1.003 MB / 0.842 GB, free: 9.875 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.03796, allocations: 4 kB / 0.842 GB, free: 9.871 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.03815, allocations: 79.89 kB / 0.8421 GB, free: 9.793 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.03827, allocations: 91.31 kB / 0.8422 GB, free: 9.703 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.03828, allocations: 0 / 0.8422 GB, free: 9.703 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.03831, allocations: 23.97 kB / 0.8422 GB, free: 9.68 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.03831, allocations: 3.938 kB / 0.8422 GB, free: 9.676 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.03831, allocations: 0 / 0.8422 GB, free: 9.676 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.03891, allocations: 0.6557 MB / 0.8429 GB, free: 9.004 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-05/0.03899, allocations: 40.03 kB / 0.8429 GB, free: 8.965 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.03913, allocations: 35.95 kB / 0.8429 GB, free: 8.93 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.03924, allocations: 80.78 kB / 0.843 GB, free: 8.852 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.03927, allocations: 27.97 kB / 0.843 GB, free: 8.824 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001177/0.03939, allocations: 168.4 kB / 0.8432 GB, free: 8.656 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.03939, allocations: 4 kB / 0.8432 GB, free: 8.652 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005021/0.03989, allocations: 359.1 kB / 0.8435 GB, free: 8.301 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (TRoo.y,conPID.I.y) * Number of discrete variables: 54 (optStaHea.optHea.triAve.y,optStaHea.optHea.edg.y,optStaHea.optHea.falEdg.y,optStaHea.optHea.lat.clr,optStaHea.optHea.lat.u,optStaHea.optHea.truHol.timeTrigger,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$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.u,optStaHea.optHea.truHol.y,optStaHea.optHea.truHol.not_u,optStaHea.optHea.truHol.not_y,optStaHea.optHea.truHol.entryTimeTrue,optStaHea.optHea.truHol.entryTimeFalse,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: 20 (occSch.tNext,optStaHea.optHea.truHol.entryTimeFalse,optStaHea.optHea.truHol.entryTimeTrue,optStaHea.hysSta.greHys.y,optStaHea.falEdg.not_u,optStaHea.optHea.truHol.u,optStaHea.optHea.truHol.not_u,optStaHea.optHea.truHol.y,optStaHea.optHea.truHol.not_y,optStaHea.optHea.tim.entryTime,optStaHea.optHea.pre.u,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0005496/0.04044, allocations: 0.8495 MB / 0.8444 GB, free: 7.434 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006756/0.04112, allocations: 0.746 MB / 0.8451 GB, free: 6.684 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.04112, allocations: 8 kB / 0.8451 GB, free: 6.676 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.04131, allocations: 216.5 kB / 0.8453 GB, free: 6.461 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.04167, allocations: 153.1 kB / 0.8455 GB, free: 6.316 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.04506, allocations: 3.211 MB / 0.8486 GB, free: 2.973 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.144e-05/0.04515, allocations: 165.7 kB / 0.8487 GB, free: 2.789 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002526/0.04541, allocations: 109.7 kB / 0.8488 GB, free: 2.68 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.04581, allocations: 423.1 kB / 0.8493 GB, free: 2.266 MB / 0.823 GB Notification: Performance of SimCode: time 8.42e-07/0.04581, allocations: 0 / 0.8493 GB, free: 2.266 MB / 0.823 GB Notification: Performance of FMU documentation: time 0.06366/0.1095, allocations: 18.63 MB / 0.8674 GB, free: 52 kB / 0.8386 GB Notification: FMU-only work: backend 0.0003002, simCode 0.001673, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06295/0.1724, allocations: 1.331 MB / 0.8687 GB, free: 14.67 MB / 0.8542 GB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.003/3.175, allocations: 11.44 kB / 0.8688 GB, free: 14.66 MB / 0.8542 GB " [Timeout remaining time 297] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_res.mat --stripRoot --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating_fmu --startTime=-172800 --stopTime=604800 --stepSize=311.04 --mode=me --timeout=240 --tolerance=1e-07 ../Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating.fmu) > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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),der(conPID.controlError.u2),der(conPID.u_m),der(dT.u2),der(optStaHea.TZon),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 filterSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.diff.mat", vars={" optStaHea.optOn", " optStaHea.TZon", " optStaHea.tOpt"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.ref.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.diff.ref.mat", vars={" optStaHea.optOn", " optStaHea.TZon", " optStaHea.tOpt"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_OMSimulator-cs-cvode.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating_OMSimulator-cs-cvode_fmu --startTime=-172800 --stopTime=604800 --stepSize=311.04 --mode=cs --timeout=240 --tolerance=1e-07 ../Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating_OMSimulator-cs-cvode.fmu) > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_OMSimulator-cs-cvode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_OMSimulator-cs-euler.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_OMSimulator-cs-euler.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating_OMSimulator-cs-euler_fmu --startTime=-172800 --stopTime=604800 --stepSize=311.04 --mode=cs --timeout=240 --tolerance=1e-07 ../Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating_OMSimulator-cs-euler.fmu) > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] OMSimulator-cs-euler timed out simulating the FMU (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy_res.csv --output-variables optStaHea.tOpt TSetHea.y optStaHea.TZon optStaHea.optOn --start-time -172800 --stop-time 604800 --timeout 240 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 311.04 ../Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating.fmu) > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,optStaHea.tOpt,TSetHea.y,optStaHea.TZon,optStaHea.optOn Variables in the result:time,TSetHea.y,optStaHea.tOpt,optStaHea.TZon,optStaHea.optOn filterSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy.diff.mat", vars={" optStaHea.optOn", " optStaHea.TZon", " optStaHea.tOpt"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.ref.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy.diff.ref.mat", vars={" optStaHea.optOn", " optStaHea.TZon", " optStaHea.tOpt"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy-fmi3-cs-cvode.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy-fmi3-cs-cvode_res.csv --output-variables optStaHea.tOpt TSetHea.y optStaHea.TZon optStaHea.optOn --start-time -172800 --stop-time 604800 --timeout 240 --relative-tolerance 1e-07 --interface-type CoSimulation --output-interval 311.04 ../Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartHeating_fmpy-fmi3-cs-cvode.fmu) > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy-fmi3-cs-cvode_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable optStaHea.optOn in file Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy-fmi3-cs-cvode_res.csv. Warning: Get data of variable optStaHea.optOn from file Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy-fmi3-cs-cvode_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,optStaHea.tOpt,TSetHea.y,optStaHea.TZon,optStaHea.optOn Variables in the result:time,TSetHea.y,optStaHea.tOpt,optStaHea.TZon filterSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy-fmi3-cs-cvode.diff.mat", vars={" optStaHea.optOn"}, removeDescription=false) [Timeout 300] "Error: Could not read variable optStaHea.optOn in file Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy-fmi3-cs-cvode_res.csv. " [Timeout remaining time 300] Failed to write the differing variables of Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.ref.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={" optStaHea.optOn"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 9.082048972137272]