Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.911/1.911, allocations: 287.4 MB / 303.2 MB, free: 8.359 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.00111/0.00111, allocations: 175.1 kB / 371.8 MB, free: 10.83 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.699/1.699, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.0009792/0.0009794, allocations: 97.11 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004025, allocations: 14.81 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3074, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.004958/0.3125, allocations: 4.541 MB / 0.9837 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004221/0.3167, allocations: 2.413 MB / 0.9861 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008009/0.3176, allocations: 39.81 kB / 0.9861 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.3179, allocations: 102.9 kB / 0.9862 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.3183, allocations: 95.14 kB / 0.9863 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.3195, allocations: 428.2 kB / 0.9867 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.3206, allocations: 1.27 MB / 0.9879 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.3218, allocations: 0.9757 MB / 0.9889 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.3222, allocations: 310.5 kB / 0.9892 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003565/0.3225, allocations: 369.8 kB / 0.9895 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.05e-05/0.3226, allocations: 36 kB / 0.9896 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.3229, allocations: 135.9 kB / 0.9897 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.3231, allocations: 175.2 kB / 0.9899 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.3233, allocations: 217.1 kB / 0.9901 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.3243, allocations: 1.5 MB / 0.9915 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3243, allocations: 0 / 0.9915 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3244, allocations: 0 / 0.9915 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.3244, allocations: 0 / 0.9915 GB, free: 15.56 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.002236/0.3266, allocations: 1.193 MB / 0.9927 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.3267, allocations: 8.031 kB / 0.9927 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.3269, allocations: 131.4 kB / 0.9928 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000951/0.3278, allocations: 0.7198 MB / 0.9935 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.584e-05/0.3279, allocations: 90.55 kB / 0.9936 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.3281, allocations: 116.4 kB / 0.9937 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.3298, allocations: 1.094 MB / 0.9948 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.3298, allocations: 3.938 kB / 0.9948 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.284e-05/0.3299, allocations: 43.98 kB / 0.9949 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.3299, allocations: 24 kB / 0.9949 GB, free: 12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.3312, allocations: 0.7417 MB / 0.9956 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004196/0.3354, allocations: 3.896 MB / 0.9994 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.3373, allocations: 1.103 MB / 1 GB, free: 6.133 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005568/0.3378, allocations: 407.4 kB / 1.001 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.962e-05/0.3379, allocations: 14.36 kB / 1.001 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000913/0.3388, allocations: 0.5888 MB / 1.001 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=103): time 3.306e-06/0.3388, allocations: 3.938 kB / 1.001 GB, free: 5.113 MB / 0.6198 GB Notification: Performance of matching and sorting (n=103): time 0.002058/0.3409, allocations: 1.241 MB / 1.003 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.341, allocations: 102.1 kB / 1.003 GB, free: 3.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000585/0.3416, allocations: 0.569 MB / 1.003 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.894e-05/0.3417, allocations: 89.69 kB / 1.003 GB, free: 3.078 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.3419, allocations: 432.4 kB / 1.004 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.3421, allocations: 280.3 kB / 1.004 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.3422, allocations: 28 kB / 1.004 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3423, allocations: 398.7 kB / 1.005 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005729/0.3429, allocations: 358.5 kB / 1.005 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007596/0.3437, allocations: 0.6455 MB / 1.005 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.3449, allocations: 0.8638 MB / 1.006 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.3449, allocations: 4 kB / 1.006 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001975/0.3469, allocations: 1.091 MB / 1.007 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.3471, allocations: 292.2 kB / 1.008 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.3472, allocations: 12 kB / 1.008 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/0.3472, allocations: 12 kB / 1.008 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.3478, allocations: 163.7 kB / 1.008 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.927e-05/0.3479, allocations: 15.94 kB / 1.008 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005657/0.3484, allocations: 146.9 kB / 1.008 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-05/0.3485, allocations: 48 kB / 1.008 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.3486, allocations: 4 kB / 1.008 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001608/0.3502, allocations: 0.969 MB / 1.009 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.3502, allocations: 12.78 kB / 1.009 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3502, allocations: 12 kB / 1.009 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/0.3507, allocations: 159.7 kB / 1.009 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.3508, allocations: 19.92 kB / 1.009 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.3513, allocations: 128 kB / 1.009 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/0.3514, allocations: 51.98 kB / 1.009 GB, free: 12.67 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.0007124/0.3521, allocations: 445.7 kB / 1.01 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.3522, allocations: 83 kB / 1.01 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.3541, allocations: 0.9946 MB / 1.011 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.3541, allocations: 7.922 kB / 1.011 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3541, allocations: 7.984 kB / 1.011 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.3544, allocations: 243.9 kB / 1.011 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.3546, allocations: 39.98 kB / 1.011 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.3549, allocations: 51.95 kB / 1.011 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.3551, allocations: 108.8 kB / 1.011 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00186/0.357, allocations: 1.064 MB / 1.012 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002432/0.3594, allocations: 1.606 MB / 1.014 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007044/0.3602, allocations: 467.9 kB / 1.014 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005239/0.3607, allocations: 358.8 kB / 1.015 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of Backend: time 5.01e-07/0.3607, allocations: 0 / 1.015 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002865/0.3636, allocations: 1.35 MB / 1.016 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of SimCode: time 0.00293/0.3665, allocations: 2.165 MB / 1.018 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of Templates: time 0.0234/0.3899, allocations: 13.33 MB / 1.031 GB, free: 6.309 MB / 0.6511 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe 2>&1)