Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001916/0.001916, allocations: 103.7 kB / 20.5 MB, free: 1.168 MB / 14.72 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.002354/0.002354, allocations: 212.2 kB / 23.8 MB, free: 4.172 MB / 14.72 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 1.526/1.526, allocations: 230.6 MB / 257.6 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9706/0.9706, allocations: 150 MB / 464 MB, free: 10.17 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: translateModel(IBPSA.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.OptimalStartHeating") translateModel(IBPSA.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.OptimalStartHeating") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 66.42 kB / 0.6425 GB, free: 9.367 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2158, allocations: 89.18 MB / 0.7296 GB, free: 256 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.006675/0.2225, allocations: 4.124 MB / 0.7336 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004488/0.227, allocations: 2.135 MB / 0.7357 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006498/0.2276, allocations: 35.75 kB / 0.7357 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.228, allocations: 130.5 kB / 0.7358 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.2284, allocations: 122.8 kB / 0.736 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.2297, allocations: 0.5264 MB / 0.7365 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001312/0.231, allocations: 1.091 MB / 0.7375 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006559/0.2316, allocations: 348.6 kB / 0.7379 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006655/0.2323, allocations: 422.5 kB / 0.7383 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.2328, allocations: 370 kB / 0.7386 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.233, allocations: 124 kB / 0.7387 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004141/0.2334, allocations: 231.9 kB / 0.739 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.2336, allocations: 251.3 kB / 0.7392 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004001/0.234, allocations: 374.2 kB / 0.7396 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.2357, allocations: 1.424 MB / 0.7409 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2357, allocations: 0 / 0.7409 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2357, allocations: 0 / 0.7409 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.604e-05/0.2357, allocations: 4 kB / 0.7409 GB, free: 4.52 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002621/0.2384, allocations: 1.224 MB / 0.7421 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.2384, allocations: 12.03 kB / 0.7422 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.2387, allocations: 112.3 kB / 0.7423 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009642/0.2397, allocations: 0.5357 MB / 0.7428 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-05/0.2398, allocations: 74.36 kB / 0.7429 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.2399, allocations: 88.33 kB / 0.7429 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.2415, allocations: 0.8558 MB / 0.7438 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.2415, allocations: 0 / 0.7438 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-05/0.2416, allocations: 35.98 kB / 0.7438 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.2416, allocations: 20 kB / 0.7438 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.2429, allocations: 0.5699 MB / 0.7444 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004135/0.247, allocations: 2.106 MB / 0.7464 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.2488, allocations: 0.7486 MB / 0.7472 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/0.2494, allocations: 302.7 kB / 0.7475 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.2495, allocations: 12.64 kB / 0.7475 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.2506, allocations: 496.5 kB / 0.7479 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 3.967e-06/0.2506, allocations: 0 / 0.7479 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.002241/0.2528, allocations: 1.043 MB / 0.749 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.184e-05/0.2529, allocations: 98.09 kB / 0.7491 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005963/0.2535, allocations: 461.7 kB / 0.7495 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.2536, allocations: 65.7 kB / 0.7496 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.2539, allocations: 353.3 kB / 0.7499 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.2542, allocations: 258 kB / 0.7501 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.2545, allocations: 198.9 kB / 0.7503 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002251/0.2547, allocations: 378.8 kB / 0.7507 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005826/0.2553, allocations: 298 kB / 0.751 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000904/0.2562, allocations: 0.665 MB / 0.7516 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.2573, allocations: 0.6612 MB / 0.7523 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.2573, allocations: 0 / 0.7523 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001621/0.259, allocations: 0.8747 MB / 0.7531 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.259, allocations: 8 kB / 0.7531 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.259, allocations: 4 kB / 0.7531 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/0.259, allocations: 8 kB / 0.7532 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.2595, allocations: 136.1 kB / 0.7533 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.2596, allocations: 15.94 kB / 0.7533 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.26, allocations: 103.4 kB / 0.7534 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.219e-05/0.2601, allocations: 39.98 kB / 0.7534 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007791/0.2609, allocations: 450.7 kB / 0.7539 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008128/0.2617, allocations: 0.6455 MB / 0.7545 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001024/0.2627, allocations: 0.6455 MB / 0.7551 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/0.2627, allocations: 4 kB / 0.7551 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.001425/0.2641, allocations: 0.8494 MB / 0.756 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2642, allocations: 8 kB / 0.756 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.2642, allocations: 4 kB / 0.756 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2642, allocations: 8.406 kB / 0.756 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/0.2646, allocations: 131.8 kB / 0.7561 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.2647, allocations: 11.94 kB / 0.7561 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.2651, allocations: 123.4 kB / 0.7562 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.02e-05/0.2652, allocations: 32 kB / 0.7563 GB, free: 4.281 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 86 (optStaHea.optHea.tim.passed,$PRE.optStaHea.optHea.tim.passed,optStaHea.optHea.edg.u,$PRE.optStaHea.optHea.edg.u,optStaHea.optHea.edg.y,optStaHea.optHea.falEdg.y,optStaHea.optHea.falEdg.not_u,$PRE.optStaHea.optHea.falEdg.not_u,optStaHea.optHea.hys.y,$PRE.optStaHea.optHea.hys.y,optStaHea.optHea.hysOpt.y,$PRE.optStaHea.optHea.hysOpt.y,optStaHea.optHea.truHol.u,$PRE.optStaHea.optHea.truHol.u,optStaHea.optHea.truHol.y,$PRE.optStaHea.optHea.truHol.y,optStaHea.optHea.truHol.not_u,$PRE.optStaHea.optHea.truHol.not_u,optStaHea.optHea.truHol.not_y,$PRE.optStaHea.optHea.truHol.not_y,optStaHea.optHea.truHol.entryTimeTrue,$PRE.optStaHea.optHea.truHol.entryTimeTrue,optStaHea.optHea.truHol.entryTimeFalse,$PRE.optStaHea.optHea.truHol.entryTimeFalse,optStaHea.optHea.pre.u,$PRE.optStaHea.optHea.pre.u,optStaHea.optHea.lat.u,optStaHea.optHea.lat.clr,optStaHea.optHea.lat.y,$PRE.optStaHea.optHea.lat.y,optStaHea.optHea.tim.entryTime,$PRE.optStaHea.optHea.tim.entryTime,optStaHea.optHea.samTimOpt.y,$PRE.optStaHea.optHea.samTimOpt.y,optStaHea.optHea.greThr.y,optStaHea.hysSta.greHys.y,$PRE.optStaHea.hysSta.greHys.y,optStaHea.falEdg.not_u,$PRE.optStaHea.falEdg.not_u,occSch.occupied,$PRE.occSch.occupied,occSch.tOcc,$PRE.occSch.tOcc,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tNext,$PRE.occSch.tNext,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,optStaHea.optHea.samTemSloAve.y,optStaHea.optHea.samTemSloAve.iSample,$PRE.optStaHea.optHea.samTemSloAve.iSample,optStaHea.optHea.samTemSloAve.counter,$PRE.optStaHea.optHea.samTemSloAve.counter,optStaHea.optHea.samTemSloAve.index,optStaHea.optHea.samTemSloAve.ySample[1],$PRE.optStaHea.optHea.samTemSloAve.ySample[1],optStaHea.optHea.samTemSloAve.ySample[2],$PRE.optStaHea.optHea.samTemSloAve.ySample[2],optStaHea.optHea.samTemSloAve.ySample[3],$PRE.optStaHea.optHea.samTemSloAve.ySample[3],optStaHea.optHea.dTCalOn.y,$PRE.optStaHea.optHea.dTCalOn.y,optStaHea.optHea.dTHVACOn.y,$PRE.optStaHea.optHea.dTHVACOn.y,optStaHea.optHea.triSam.y,$PRE.optStaHea.optHea.triSam.y,optStaHea.optHea.triSam1.y,$PRE.optStaHea.optHea.triSam1.y,optStaHea.optHea.reqStaUp.y,optStaHea.optHea.triAve.u2,optStaHea.optHea.triAve.y,$whenCondition13,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 (127): * Single equations (assignments): 125 * 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.0003683/0.2656, allocations: 289.2 kB / 0.7565 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.2657, allocations: 75.5 kB / 0.7566 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.2674, allocations: 0.8253 MB / 0.7574 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.2674, allocations: 3.984 kB / 0.7574 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2674, allocations: 0 / 0.7574 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.2677, allocations: 147.3 kB / 0.7576 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.2678, allocations: 39.94 kB / 0.7576 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.2681, allocations: 47.94 kB / 0.7576 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.2683, allocations: 80.86 kB / 0.7577 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00167/0.27, allocations: 0.8804 MB / 0.7586 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002309/0.2723, allocations: 1.376 MB / 0.7599 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006028/0.2729, allocations: 315.9 kB / 0.7602 GB, free: 180 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.4402/0.7131, allocations: 291.1 kB / 0.7605 GB, free: 34.22 MB / 0.5762 GB Notification: Performance of Backend: time 1.403e-06/0.7131, allocations: 0 / 0.7605 GB, free: 34.22 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002442/0.7155, allocations: 1.02 MB / 0.7615 GB, free: 34.09 MB / 0.5762 GB Notification: Performance of SimCode: time 0.001859/0.7174, allocations: 1.584 MB / 0.763 GB, free: 33.08 MB / 0.5762 GB Notification: Performance of Templates: time 0.02702/0.7444, allocations: 13.61 MB / 0.7763 GB, free: 31.71 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.OptimalStartHeating.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.OptimalStartHeating.sim & ./IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.OptimalStartHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.955298169981688] Failed to read output from testmodel.py, exit status != 0: 0.7536200729664415 0.764231466 0.525936897 Calling exit ...