Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.332/2.332, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001372, allocations: 181.4 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.465/2.465, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 90.53 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006627/0.0006629, allocations: 12.03 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2342, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.007231/0.2415, allocations: 4.592 MB / 0.904 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00615/0.2478, allocations: 2.422 MB / 0.9064 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.2493, allocations: 27.88 kB / 0.9064 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.2499, allocations: 110.9 kB / 0.9065 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006611/0.2506, allocations: 79.23 kB / 0.9066 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.2523, allocations: 424.7 kB / 0.907 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002134/0.2544, allocations: 1.344 MB / 0.9083 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.2563, allocations: 0.9348 MB / 0.9092 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007158/0.2571, allocations: 350.5 kB / 0.9095 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005937/0.2577, allocations: 409.8 kB / 0.9099 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.2579, allocations: 40 kB / 0.91 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.2582, allocations: 59.98 kB / 0.91 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.2584, allocations: 183.2 kB / 0.9102 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.2587, allocations: 233.1 kB / 0.9104 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.2606, allocations: 1.477 MB / 0.9119 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.2606, allocations: 4 kB / 0.9119 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.574e-06/0.2607, allocations: 0 / 0.9119 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.604e-05/0.2607, allocations: 0 / 0.9119 GB, free: 52.83 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.00368/0.2644, allocations: 1.242 MB / 0.9131 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.2645, allocations: 8.031 kB / 0.9131 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004343/0.2649, allocations: 139.4 kB / 0.9132 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.2665, allocations: 0.6929 MB / 0.9139 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.2667, allocations: 102.5 kB / 0.914 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/0.267, allocations: 124.4 kB / 0.9141 GB, free: 50.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/0.2701, allocations: 1.163 MB / 0.9152 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.2702, allocations: 7.938 kB / 0.9152 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.2704, allocations: 47.97 kB / 0.9153 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.2704, allocations: 24 kB / 0.9153 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.273, allocations: 0.7768 MB / 0.9161 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007795/0.2809, allocations: 4.209 MB / 0.9202 GB, free: 44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.2835, allocations: 0.9414 MB / 0.9211 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.2847, allocations: 441.1 kB / 0.9215 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.909e-05/0.2848, allocations: 17.06 kB / 0.9215 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001724/0.2866, allocations: 0.7121 MB / 0.9222 GB, free: 41.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=111): time 4.078e-06/0.2866, allocations: 3.938 kB / 0.9222 GB, free: 41.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111): time 0.004132/0.2907, allocations: 1.405 MB / 0.9236 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.2909, allocations: 127.8 kB / 0.9237 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009023/0.2918, allocations: 0.579 MB / 0.9243 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002984/0.2921, allocations: 89.69 kB / 0.9244 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004049/0.2925, allocations: 420.7 kB / 0.9248 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004003/0.2929, allocations: 304 kB / 0.9251 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.293, allocations: 32 kB / 0.9251 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2932, allocations: 402.7 kB / 0.9255 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.2946, allocations: 415.1 kB / 0.9259 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.2962, allocations: 0.6953 MB / 0.9266 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.2977, allocations: 489.5 kB / 0.927 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.2978, allocations: 0 / 0.927 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003716/0.3015, allocations: 1.352 MB / 0.9283 GB, free: 35.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002136/0.3018, allocations: 323.7 kB / 0.9287 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.3018, allocations: 11.98 kB / 0.9287 GB, free: 35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-05/0.3019, allocations: 12 kB / 0.9287 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.303, allocations: 175.5 kB / 0.9288 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.131e-05/0.3031, allocations: 19.98 kB / 0.9289 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.3044, allocations: 166.8 kB / 0.929 GB, free: 34.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.3047, allocations: 63.98 kB / 0.9291 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3047, allocations: 4 kB / 0.9291 GB, free: 34.56 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003354/0.3081, allocations: 1.26 MB / 0.9303 GB, free: 33.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.3081, allocations: 8 kB / 0.9303 GB, free: 33.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.3082, allocations: 15.94 kB / 0.9303 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.3093, allocations: 163.7 kB / 0.9305 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/0.3093, allocations: 20.42 kB / 0.9305 GB, free: 33.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.3105, allocations: 159 kB / 0.9307 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.3107, allocations: 52 kB / 0.9307 GB, free: 32.88 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 115 ($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.yAcc,optStaHea.optHea.tim.yAcc,$whenCondition13,$PRE.optStaHea.optHea.truHol.onDelay.t_next,optStaHea.optHea.truHol.onDelay.t_next,$whenCondition17,optStaHea.optHea.lesEquThr2.y,optStaHea.optHea.triMovMea.y,$PRE.optStaHea.optHea.triMovMea.iSample,optStaHea.optHea.triMovMea.iSample,$PRE.optStaHea.optHea.triMovMea.counter,optStaHea.optHea.triMovMea.counter,optStaHea.optHea.triMovMea.index,$PRE.optStaHea.optHea.triMovMea.ySample[1],optStaHea.optHea.triMovMea.ySample[1],$PRE.optStaHea.optHea.triMovMea.ySample[2],optStaHea.optHea.triMovMea.ySample[2],$PRE.optStaHea.optHea.triMovMea.ySample[3],optStaHea.optHea.triMovMea.ySample[3],$PRE.optStaHea.optHea.triSam2.y,optStaHea.optHea.triSam2.y,$PRE.optStaHea.optHea.triSam3.y,optStaHea.optHea.triSam3.y,optStaHea.optHea.lesEquThr.y,optStaHea.optHea.lesEquThr1.y,$PRE.optStaHea.optHea.triSam.y,optStaHea.optHea.triSam.y,$PRE.optStaHea.optHea.triSam1.y,optStaHea.optHea.triSam1.y,optStaHea.optHea.truHol.stateGraphRoot.resume,optStaHea.optHea.truHol.stateGraphRoot.suspend,optStaHea.con3.y,$whenCondition16,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition11,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition6,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,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.triSam4.y,optStaHea.optHea.triSam4.y,optStaHea.optHea.greThr.y,$PRE.optStaHea.hysSta.y,optStaHea.hysSta.y,$PRE.optStaHea.falEdg.not_u,optStaHea.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.optStaHea.optHea.tim.reset_internal,optStaHea.optHea.tim.reset_internal,conPID.I.trigger_internal,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 163 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0008738/0.3116, allocations: 458.4 kB / 0.9312 GB, free: 32.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.3118, allocations: 90.95 kB / 0.9312 GB, free: 32.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/0.3151, allocations: 1.112 MB / 0.9323 GB, free: 31.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/0.3151, allocations: 3.984 kB / 0.9323 GB, free: 31.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.3151, allocations: 0 / 0.9323 GB, free: 31.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.3154, allocations: 167.9 kB / 0.9325 GB, free: 31.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003062/0.3157, allocations: 55.97 kB / 0.9325 GB, free: 30.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007784/0.3165, allocations: 51.95 kB / 0.9326 GB, free: 30.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003473/0.3169, allocations: 120.8 kB / 0.9327 GB, free: 30.8 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003602/0.3205, allocations: 1.29 MB / 0.934 GB, free: 29.51 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004571/0.3251, allocations: 1.848 MB / 0.9358 GB, free: 27.64 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001368/0.3265, allocations: 0.5036 MB / 0.9363 GB, free: 27.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005832/0.3272, allocations: 362.8 kB / 0.9366 GB, free: 26.79 MB / 0.6042 GB Notification: Performance of Backend: time 5.01e-07/0.3272, allocations: 3.938 kB / 0.9366 GB, free: 26.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004733/0.3319, allocations: 1.779 MB / 0.9384 GB, free: 24.98 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003915/0.3359, allocations: 2.181 MB / 0.9405 GB, free: 22.74 MB / 0.6042 GB Notification: Performance of Templates: time 0.03995/0.3759, allocations: 14.71 MB / 0.9549 GB, free: 8.113 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe 2>&1)