Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001344/0.001344, allocations: 172.9 kB / 326.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205 MB / 0.5766 GB, free: 20.95 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.0008286/0.0008283, allocations: 83.94 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 9.312 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2199, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.00525/0.2252, allocations: 5.09 MB / 0.9017 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004615/0.2299, allocations: 2.487 MB / 0.9042 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000955/0.2309, allocations: 39.75 kB / 0.9042 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.2313, allocations: 107 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.2317, allocations: 95.23 kB / 0.9044 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.2327, allocations: 0.6075 MB / 0.905 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009916/0.2337, allocations: 1.399 MB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009934/0.2347, allocations: 0.9226 MB / 0.9072 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.235, allocations: 362.3 kB / 0.9076 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.2354, allocations: 425.5 kB / 0.908 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.086e-05/0.2355, allocations: 44 kB / 0.908 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.2356, allocations: 67.92 kB / 0.9081 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.2358, allocations: 175.2 kB / 0.9083 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003039/0.2361, allocations: 489 kB / 0.9087 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009476/0.237, allocations: 1.724 MB / 0.9104 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2371, allocations: 0 / 0.9104 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.796e-06/0.2371, allocations: 0 / 0.9104 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.2371, allocations: 0 / 0.9104 GB, free: 54.06 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.00192/0.239, allocations: 1.238 MB / 0.9116 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2391, allocations: 8.031 kB / 0.9116 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.2393, allocations: 143.4 kB / 0.9118 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000794/0.2401, allocations: 0.7003 MB / 0.9125 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.665e-05/0.2402, allocations: 98.55 kB / 0.9125 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.2403, allocations: 124.4 kB / 0.9127 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.2419, allocations: 1.179 MB / 0.9138 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.242, allocations: 8 kB / 0.9138 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.353e-05/0.2421, allocations: 47.98 kB / 0.9139 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.2421, allocations: 24 kB / 0.9139 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.2433, allocations: 0.7729 MB / 0.9147 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003937/0.2473, allocations: 4.225 MB / 0.9188 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.2486, allocations: 0.9541 MB / 0.9197 GB, free: 44.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/0.2492, allocations: 441.1 kB / 0.9201 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.084e-05/0.2493, allocations: 21.05 kB / 0.9201 GB, free: 43.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009494/0.2502, allocations: 0.7044 MB / 0.9208 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=111): time 3.296e-06/0.2502, allocations: 0 / 0.9208 GB, free: 43.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=111): time 0.002208/0.2525, allocations: 1.417 MB / 0.9222 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.2525, allocations: 135.8 kB / 0.9223 GB, free: 41.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/0.2531, allocations: 0.5767 MB / 0.9229 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.2532, allocations: 85.69 kB / 0.923 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.2534, allocations: 432.6 kB / 0.9234 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.2536, allocations: 300.1 kB / 0.9237 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.2537, allocations: 153.6 kB / 0.9238 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2538, allocations: 402.8 kB / 0.9242 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006571/0.2545, allocations: 427.1 kB / 0.9246 GB, free: 39.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007491/0.2553, allocations: 0.6953 MB / 0.9253 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.2564, allocations: 0.9946 MB / 0.9263 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.2564, allocations: 3.938 kB / 0.9263 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001821/0.2583, allocations: 1.374 MB / 0.9276 GB, free: 35.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.2584, allocations: 319 kB / 0.9279 GB, free: 35.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.2584, allocations: 4 kB / 0.9279 GB, free: 35.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.2585, allocations: 12 kB / 0.9279 GB, free: 35.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/0.259, allocations: 167.6 kB / 0.9281 GB, free: 35.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.259, allocations: 27.92 kB / 0.9281 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/0.2596, allocations: 170.8 kB / 0.9283 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.483e-05/0.2597, allocations: 59.98 kB / 0.9284 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.2598, allocations: 4 kB / 0.9284 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001623/0.2614, allocations: 1.274 MB / 0.9296 GB, free: 33.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2614, allocations: 4 kB / 0.9296 GB, free: 33.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2614, allocations: 23.92 kB / 0.9296 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.2619, allocations: 163.6 kB / 0.9298 GB, free: 33.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2619, allocations: 12.53 kB / 0.9298 GB, free: 33.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005392/0.2625, allocations: 162.9 kB / 0.93 GB, free: 33.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.2625, allocations: 56.06 kB / 0.93 GB, free: 33.29 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,optStaHea.optHea.tim.yAcc,$PRE.optStaHea.optHea.tim.yAcc,$PRE.optStaHea.optHea.truHol.onDelay.t_next,$whenCondition13,optStaHea.optHea.truHol.onDelay.t_next,optStaHea.optHea.lesEquThr2.y,$whenCondition17,optStaHea.optHea.triSam1.y,$PRE.optStaHea.optHea.triSam1.y,optStaHea.optHea.triSam.y,$PRE.optStaHea.optHea.triSam.y,optStaHea.optHea.lesEquThr1.y,optStaHea.optHea.lesEquThr.y,optStaHea.optHea.triSam3.y,$PRE.optStaHea.optHea.triSam3.y,optStaHea.optHea.triSam2.y,$PRE.optStaHea.optHea.triSam2.y,optStaHea.optHea.triMovMea.ySample[3],$PRE.optStaHea.optHea.triMovMea.ySample[3],optStaHea.optHea.triMovMea.ySample[2],$PRE.optStaHea.optHea.triMovMea.ySample[2],optStaHea.optHea.triMovMea.ySample[1],$PRE.optStaHea.optHea.triMovMea.ySample[1],optStaHea.optHea.triMovMea.index,optStaHea.optHea.triMovMea.counter,$PRE.optStaHea.optHea.triMovMea.counter,optStaHea.optHea.triMovMea.iSample,$PRE.optStaHea.optHea.triMovMea.iSample,optStaHea.optHea.triMovMea.y,optStaHea.optHea.truHol.stateGraphRoot.resume,optStaHea.optHea.truHol.stateGraphRoot.suspend,optStaHea.con3.y,optStaHea.optHea.tim.reset_internal,$PRE.optStaHea.optHea.tim.reset_internal,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tOcc,$PRE.occSch.tOcc,occSch.iPerSto,$PRE.occSch.iPerSto,occSch.iPerSta,$PRE.occSch.iPerSta,occSch.nexStoInd,$PRE.occSch.nexStoInd,occSch.nexStaInd,$PRE.occSch.nexStaInd,occSch.occupied,$PRE.occSch.occupied,optStaHea.falEdg.not_u,$PRE.optStaHea.falEdg.not_u,optStaHea.hysSta.y,$PRE.optStaHea.hysSta.y,optStaHea.optHea.greThr.y,optStaHea.optHea.triSam4.y,$PRE.optStaHea.optHea.triSam4.y,optStaHea.optHea.tim.entryTime,$PRE.optStaHea.optHea.tim.entryTime,optStaHea.optHea.lat.y,optStaHea.optHea.lat.clr,$PRE.optStaHea.optHea.lat.clr,optStaHea.optHea.lat.u,$PRE.optStaHea.optHea.lat.u,optStaHea.optHea.pre.u,$PRE.optStaHea.optHea.pre.u,optStaHea.optHea.truHol.toInitial.enableFire,optStaHea.optHea.truHol.toOutputTrue.enableFire,optStaHea.optHea.truHol.outputTrue.active,optStaHea.optHea.truHol.outputTrue.oldActive,$PRE.optStaHea.optHea.truHol.outputTrue.oldActive,optStaHea.optHea.truHol.outputTrue.newActive,$PRE.optStaHea.optHea.truHol.outputTrue.newActive,optStaHea.optHea.truHol.outputTrue.localActive,$PRE.optStaHea.optHea.truHol.outputTrue.localActive,optStaHea.optHea.truHol.initialStep.oldActive,$PRE.optStaHea.optHea.truHol.initialStep.oldActive,optStaHea.optHea.truHol.initialStep.newActive,$PRE.optStaHea.optHea.truHol.initialStep.newActive,optStaHea.optHea.truHol.initialStep.localActive,$PRE.optStaHea.optHea.truHol.initialStep.localActive,optStaHea.optHea.truHol.initialStep.active,optStaHea.optHea.truHol.onDelay.y,optStaHea.optHea.truHol.onDelay.u,optStaHea.optHea.truHol.stateGraphRoot.activeSteps,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,optStaHea.optHea.staCal,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition11,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition16,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005235/0.2631, allocations: 463 kB / 0.9304 GB, free: 32.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.2632, allocations: 86.95 kB / 0.9305 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.2649, allocations: 1.116 MB / 0.9316 GB, free: 31.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.2649, allocations: 7.969 kB / 0.9316 GB, free: 31.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2649, allocations: 0 / 0.9316 GB, free: 31.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-05/0.265, allocations: 163.9 kB / 0.9318 GB, free: 31.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.2652, allocations: 55.97 kB / 0.9318 GB, free: 31.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.2655, allocations: 51.95 kB / 0.9319 GB, free: 31.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.2657, allocations: 108.8 kB / 0.932 GB, free: 31.21 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001875/0.2676, allocations: 1.294 MB / 0.9333 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002327/0.27, allocations: 1.856 MB / 0.9351 GB, free: 28.04 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000638/0.2706, allocations: 0.5076 MB / 0.9356 GB, free: 27.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003186/0.271, allocations: 366.8 kB / 0.9359 GB, free: 27.18 MB / 0.6042 GB Notification: Performance of Backend: time 5.31e-07/0.271, allocations: 4 kB / 0.9359 GB, free: 27.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002537/0.2735, allocations: 1.781 MB / 0.9377 GB, free: 25.36 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002283/0.2758, allocations: 2.248 MB / 0.9398 GB, free: 23.06 MB / 0.6042 GB Notification: Performance of Templates: time 0.0201/0.2959, allocations: 15.18 MB / 0.9547 GB, free: 7.98 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe 2>&1)