Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.773/1.773, allocations: 288.4 MB / 304.3 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 174.7 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.818/1.818, allocations: 205.4 MB / 0.6316 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007664/0.0007664, allocations: 98.16 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003879, allocations: 12.09 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2359, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.004963/0.2409, allocations: 4.545 MB / 0.9852 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005233/0.2462, allocations: 2.394 MB / 0.9875 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.2484, allocations: 35.81 kB / 0.9876 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004639/0.2489, allocations: 106.9 kB / 0.9877 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004242/0.2493, allocations: 99.09 kB / 0.9877 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.2508, allocations: 429.4 kB / 0.9882 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001166/0.2519, allocations: 1.266 MB / 0.9894 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.2531, allocations: 0.9757 MB / 0.9903 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000379/0.2535, allocations: 310.5 kB / 0.9906 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004203/0.2539, allocations: 373.8 kB / 0.991 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.964e-05/0.254, allocations: 36 kB / 0.991 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.2543, allocations: 135.9 kB / 0.9912 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.2545, allocations: 171.2 kB / 0.9913 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004134/0.2549, allocations: 459.2 kB / 0.9918 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.2561, allocations: 1.496 MB / 0.9932 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.2561, allocations: 0 / 0.9932 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2561, allocations: 0 / 0.9932 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.227e-05/0.2561, allocations: 0 / 0.9932 GB, free: 14.48 MB / 0.6198 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.002288/0.2584, allocations: 1.205 MB / 0.9944 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.2585, allocations: 8.031 kB / 0.9944 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.2587, allocations: 131.4 kB / 0.9945 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009557/0.2597, allocations: 0.7197 MB / 0.9952 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.972e-05/0.2598, allocations: 90.55 kB / 0.9953 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.2599, allocations: 112.4 kB / 0.9954 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.2617, allocations: 1.094 MB / 0.9965 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.2617, allocations: 0 / 0.9965 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.225e-05/0.2618, allocations: 51.98 kB / 0.9965 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.2618, allocations: 24 kB / 0.9966 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.2631, allocations: 0.7378 MB / 0.9973 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004361/0.2675, allocations: 3.896 MB / 1.001 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.2693, allocations: 1.104 MB / 1.002 GB, free: 5.043 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005485/0.2699, allocations: 403.4 kB / 1.003 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.905e-05/0.27, allocations: 8.656 kB / 1.003 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008382/0.2708, allocations: 0.6001 MB / 1.003 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=103): time 3.126e-06/0.2708, allocations: 0 / 1.003 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of matching and sorting (n=103): time 0.002025/0.2729, allocations: 1.241 MB / 1.004 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.2729, allocations: 106 kB / 1.004 GB, free: 2.656 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006099/0.2736, allocations: 0.569 MB / 1.005 GB, free: 2.078 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.2737, allocations: 85.64 kB / 1.005 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.2739, allocations: 440.4 kB / 1.006 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.2741, allocations: 284.3 kB / 1.006 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.2742, allocations: 20 kB / 1.006 GB, free: 1.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2744, allocations: 398.7 kB / 1.006 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.275, allocations: 354.5 kB / 1.007 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008234/0.2758, allocations: 0.6455 MB / 1.007 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.2772, allocations: 0.8678 MB / 1.008 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.2772, allocations: 4 kB / 1.008 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001955/0.2792, allocations: 1.084 MB / 1.009 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002803/0.2795, allocations: 293.5 kB / 1.009 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.2795, allocations: 8 kB / 1.009 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/0.2796, allocations: 12 kB / 1.009 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.2802, allocations: 171.6 kB / 1.01 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.441e-05/0.2802, allocations: 15.94 kB / 1.01 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005737/0.2808, allocations: 142.9 kB / 1.01 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/0.2809, allocations: 47.98 kB / 1.01 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.2809, allocations: 4 kB / 1.01 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001638/0.2826, allocations: 0.9698 MB / 1.011 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.2826, allocations: 11.94 kB / 1.011 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2826, allocations: 15.94 kB / 1.011 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/0.2831, allocations: 155.7 kB / 1.011 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.44e-05/0.2832, allocations: 15.94 kB / 1.011 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/0.2837, allocations: 139 kB / 1.011 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.44e-05/0.2838, allocations: 44 kB / 1.011 GB, free: 11.58 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 106 ($PRE.optStaHea.optHea.truHol.onDelay.u,$PRE.optStaHea.optHea.truHol.toOutputTrue.enableFire,$PRE.optStaHea.optHea.truHol.toInitial.enableFire,$PRE.optStaHea.optHea.lat.y,$PRE.optStaHea.optHea.tim.passed,optStaHea.optHea.tim.passed,$whenCondition12,$PRE.optStaHea.optHea.truHol.onDelay.t_next,optStaHea.optHea.truHol.onDelay.t_next,$whenCondition16,optStaHea.optHea.samTemSloAve.y,$PRE.optStaHea.optHea.samTemSloAve.iSample,optStaHea.optHea.samTemSloAve.iSample,$PRE.optStaHea.optHea.samTemSloAve.counter,optStaHea.optHea.samTemSloAve.counter,optStaHea.optHea.samTemSloAve.index,$PRE.optStaHea.optHea.samTemSloAve.ySample[1],optStaHea.optHea.samTemSloAve.ySample[1],$PRE.optStaHea.optHea.samTemSloAve.ySample[2],optStaHea.optHea.samTemSloAve.ySample[2],$PRE.optStaHea.optHea.samTemSloAve.ySample[3],optStaHea.optHea.samTemSloAve.ySample[3],$PRE.optStaHea.optHea.dTCalOn.y,optStaHea.optHea.dTCalOn.y,$PRE.optStaHea.optHea.dTHVACOn.y,optStaHea.optHea.dTHVACOn.y,$PRE.optStaHea.optHea.triSam.y,optStaHea.optHea.triSam.y,$PRE.optStaHea.optHea.triSam1.y,optStaHea.optHea.triSam1.y,optStaHea.optHea.reqStaUp.y,optStaHea.optHea.triAve.u2,optStaHea.optHea.triAve.y,$whenCondition15,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition1,optStaHea.optHea.staCal,$PRE.optStaHea.optHea.edg.u,optStaHea.optHea.edg.u,optStaHea.optHea.edg.y,optStaHea.optHea.falEdg.y,$PRE.optStaHea.optHea.falEdg.not_u,optStaHea.optHea.falEdg.not_u,$PRE.optStaHea.optHea.hys.y,optStaHea.optHea.hys.y,$PRE.optStaHea.optHea.hysOpt.y,optStaHea.optHea.hysOpt.y,optStaHea.optHea.truHol.stateGraphRoot.activeSteps,optStaHea.optHea.truHol.onDelay.u,optStaHea.optHea.truHol.onDelay.y,optStaHea.optHea.truHol.initialStep.active,$PRE.optStaHea.optHea.truHol.initialStep.localActive,optStaHea.optHea.truHol.initialStep.localActive,$PRE.optStaHea.optHea.truHol.initialStep.newActive,optStaHea.optHea.truHol.initialStep.newActive,$PRE.optStaHea.optHea.truHol.initialStep.oldActive,optStaHea.optHea.truHol.initialStep.oldActive,$PRE.optStaHea.optHea.truHol.outputTrue.localActive,optStaHea.optHea.truHol.outputTrue.localActive,$PRE.optStaHea.optHea.truHol.outputTrue.newActive,optStaHea.optHea.truHol.outputTrue.newActive,$PRE.optStaHea.optHea.truHol.outputTrue.oldActive,optStaHea.optHea.truHol.outputTrue.oldActive,optStaHea.optHea.truHol.outputTrue.active,optStaHea.optHea.truHol.toOutputTrue.enableFire,optStaHea.optHea.truHol.toInitial.enableFire,$PRE.optStaHea.optHea.pre.u,optStaHea.optHea.pre.u,$PRE.optStaHea.optHea.lat.u,optStaHea.optHea.lat.u,$PRE.optStaHea.optHea.lat.clr,optStaHea.optHea.lat.clr,optStaHea.optHea.lat.y,$PRE.optStaHea.optHea.tim.entryTime,optStaHea.optHea.tim.entryTime,$PRE.optStaHea.optHea.samTimOpt.y,optStaHea.optHea.samTimOpt.y,optStaHea.optHea.greThr.y,$PRE.optStaHea.hysSta.greHys.y,optStaHea.hysSta.greHys.y,$PRE.optStaHea.falEdg.not_u,optStaHea.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,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 (157): * Single equations (assignments): 155 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007315/0.2846, allocations: 449.6 kB / 1.011 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.2847, allocations: 90.98 kB / 1.012 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.2865, allocations: 0.9868 MB / 1.013 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.2866, allocations: 3.984 kB / 1.013 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2866, allocations: 0 / 1.013 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/0.2869, allocations: 247.9 kB / 1.013 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.2871, allocations: 43.98 kB / 1.013 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003959/0.2875, allocations: 51.95 kB / 1.013 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/0.2877, allocations: 112.8 kB / 1.013 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001893/0.2896, allocations: 1.06 MB / 1.014 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002475/0.2921, allocations: 1.606 MB / 1.016 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007108/0.2928, allocations: 459.8 kB / 1.016 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004893/0.2933, allocations: 358.8 kB / 1.016 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of Backend: time 3.527e-06/0.2934, allocations: 0 / 1.016 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002882/0.2962, allocations: 1.361 MB / 1.018 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of SimCode: time 0.002961/0.2992, allocations: 2.163 MB / 1.02 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of Templates: time 0.02614/0.3254, allocations: 13.42 MB / 1.033 GB, free: 5.152 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe 2>&1)