Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009455/0.0009455, allocations: 80.81 kB / 21.55 MB, free: 2.945 MB / 18.57 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.001064/0.001064, allocations: 162 kB / 24.97 MB, free: 8.707 MB / 18.57 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 0.9655/0.9655, allocations: 177.1 MB / 205.4 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.017/2.017, allocations: 389.6 MB / 0.6362 GB, free: 13.4 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.776 GB, free: 14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.658e-05/1.783e-05, allocations: 2.312 kB / 0.776 GB, free: 14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating): time 0.004529/0.004547, allocations: 4.327 MB / 0.7802 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003396/0.007943, allocations: 2.227 MB / 0.7824 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004203/0.008363, allocations: 35.75 kB / 0.7824 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.008654, allocations: 130.5 kB / 0.7825 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.009006, allocations: 146.6 kB / 0.7827 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007262/0.009732, allocations: 0.5262 MB / 0.7832 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006988/0.01043, allocations: 1.091 MB / 0.7842 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004067/0.01084, allocations: 372.6 kB / 0.7846 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000516/0.01135, allocations: 0.6158 MB / 0.7852 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.01162, allocations: 295 kB / 0.7855 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.564e-05/0.01171, allocations: 116 kB / 0.7856 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.01194, allocations: 235.7 kB / 0.7858 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.01209, allocations: 239.2 kB / 0.786 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.01227, allocations: 295.2 kB / 0.7863 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006453/0.01291, allocations: 0.7938 MB / 0.7871 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01291, allocations: 0 / 0.7871 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.21e-07/0.01291, allocations: 0 / 0.7871 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.01292, allocations: 0 / 0.7871 GB, free: 2.516 MB / 0.7448 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.001141/0.01406, allocations: 1.088 MB / 0.7882 GB, free: 1.398 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.0141, allocations: 8.031 kB / 0.7882 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.01429, allocations: 144.8 kB / 0.7883 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.01475, allocations: 459.8 kB / 0.7887 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/0.0148, allocations: 70.36 kB / 0.7888 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.01487, allocations: 84.38 kB / 0.7889 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.01542, allocations: 0.61 MB / 0.7895 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.01543, allocations: 4.125 kB / 0.7895 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.01547, allocations: 36.36 kB / 0.7895 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.01548, allocations: 23.94 kB / 0.7896 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.01578, allocations: 232.6 kB / 0.7898 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.01745, allocations: 1.557 MB / 0.7913 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.01803, allocations: 483.7 kB / 0.7918 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.01817, allocations: 142.7 kB / 0.7919 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.0182, allocations: 16.66 kB / 0.7919 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003406/0.01854, allocations: 351.2 kB / 0.7922 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=88): time 2.595e-06/0.01855, allocations: 0 / 0.7922 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=88): time 0.0004887/0.01904, allocations: 458.4 kB / 0.7927 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.01908, allocations: 106 kB / 0.7928 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.01931, allocations: 403 kB / 0.7932 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.01937, allocations: 73.69 kB / 0.7932 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.01949, allocations: 302.2 kB / 0.7935 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.01961, allocations: 250 kB / 0.7938 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.01979, allocations: 202.8 kB / 0.794 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.0199, allocations: 390.5 kB / 0.7943 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.02003, allocations: 108.9 kB / 0.7944 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.02028, allocations: 446.4 kB / 0.7949 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.0206, allocations: 408.5 kB / 0.7952 GB, free: 9.805 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.02061, allocations: 3.938 kB / 0.7953 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0004263/0.02103, allocations: 473.4 kB / 0.7957 GB, free: 9.328 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.02105, allocations: 8 kB / 0.7957 GB, free: 9.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.02106, allocations: 4 kB / 0.7957 GB, free: 9.316 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.02107, allocations: 11.94 kB / 0.7957 GB, free: 9.305 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.02136, allocations: 159.7 kB / 0.7959 GB, free: 9.148 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.02137, allocations: 8 kB / 0.7959 GB, free: 9.141 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.02155, allocations: 99.83 kB / 0.796 GB, free: 9.043 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.02158, allocations: 24 kB / 0.796 GB, free: 9.02 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001952/0.02178, allocations: 200.4 kB / 0.7962 GB, free: 8.816 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002332/0.02201, allocations: 446.4 kB / 0.7966 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003145/0.02233, allocations: 405.6 kB / 0.797 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.806e-06/0.02233, allocations: 3.984 kB / 0.797 GB, free: 7.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=132) (initialization_lambda0): time 0.0004813/0.02281, allocations: 469.7 kB / 0.7975 GB, free: 7.371 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.02282, allocations: 11.94 kB / 0.7975 GB, free: 7.359 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.02283, allocations: 4 kB / 0.7975 GB, free: 7.355 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.02284, allocations: 11.94 kB / 0.7975 GB, free: 7.344 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.02309, allocations: 151.7 kB / 0.7976 GB, free: 7.195 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.02309, allocations: 8 kB / 0.7976 GB, free: 7.188 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.02327, allocations: 91.48 kB / 0.7977 GB, free: 7.098 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.0233, allocations: 28.19 kB / 0.7978 GB, free: 7.07 MB / 0.7605 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,occSch.tNext,$PRE.occSch.tNext,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tOcc,$PRE.occSch.tOcc,occSch.occupied,$PRE.occSch.occupied,optStaHea.falEdg.not_u,$PRE.optStaHea.falEdg.not_u,optStaHea.hysSta.greHys.y,$PRE.optStaHea.hysSta.greHys.y,optStaHea.optHea.greThr.y,optStaHea.optHea.samTimOpt.y,$PRE.optStaHea.optHea.samTimOpt.y,optStaHea.optHea.tim.entryTime,$PRE.optStaHea.optHea.tim.entryTime,optStaHea.optHea.lat.y,$PRE.optStaHea.optHea.lat.y,optStaHea.optHea.lat.clr,optStaHea.optHea.lat.u,optStaHea.optHea.pre.u,$PRE.optStaHea.optHea.pre.u,optStaHea.optHea.truHol.entryTimeFalse,$PRE.optStaHea.optHea.truHol.entryTimeFalse,optStaHea.optHea.truHol.entryTimeTrue,$PRE.optStaHea.optHea.truHol.entryTimeTrue,optStaHea.optHea.truHol.not_y,$PRE.optStaHea.optHea.truHol.not_y,optStaHea.optHea.truHol.not_u,$PRE.optStaHea.optHea.truHol.not_u,optStaHea.optHea.truHol.y,$PRE.optStaHea.optHea.truHol.y,optStaHea.optHea.truHol.u,$PRE.optStaHea.optHea.truHol.u,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,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,optStaHea.optHea.triAve.y,optStaHea.optHea.triAve.u2,optStaHea.optHea.reqStaUp.y,optStaHea.optHea.triSam1.y,$PRE.optStaHea.optHea.triSam1.y,optStaHea.optHea.triSam.y,$PRE.optStaHea.optHea.triSam.y,optStaHea.optHea.dTHVACOn.y,$PRE.optStaHea.optHea.dTHVACOn.y,optStaHea.optHea.dTCalOn.y,$PRE.optStaHea.optHea.dTCalOn.y,optStaHea.optHea.samTemSloAve.ySample[3],$PRE.optStaHea.optHea.samTemSloAve.ySample[3],optStaHea.optHea.samTemSloAve.ySample[2],$PRE.optStaHea.optHea.samTemSloAve.ySample[2],optStaHea.optHea.samTemSloAve.ySample[1],$PRE.optStaHea.optHea.samTemSloAve.ySample[1],optStaHea.optHea.samTemSloAve.index,optStaHea.optHea.samTemSloAve.counter,$PRE.optStaHea.optHea.samTemSloAve.counter,optStaHea.optHea.samTemSloAve.iSample,$PRE.optStaHea.optHea.samTemSloAve.iSample,optStaHea.optHea.samTemSloAve.y,$whenCondition13,TRoo.local_reset,optStaHea.con3.y,conPID.con1.y) * 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.0001584/0.02346, allocations: 293.4 kB / 0.798 GB, free: 6.77 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.779e-05/0.02353, allocations: 79.86 kB / 0.7981 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003951/0.02392, allocations: 383.3 kB / 0.7985 GB, free: 6.305 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.02393, allocations: 7.984 kB / 0.7985 GB, free: 6.297 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.02393, allocations: 0 / 0.7985 GB, free: 6.297 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.02406, allocations: 83.42 kB / 0.7986 GB, free: 6.215 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.659e-05/0.02412, allocations: 39.98 kB / 0.7986 GB, free: 6.176 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.02424, allocations: 35.97 kB / 0.7986 GB, free: 6.141 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.02434, allocations: 72.84 kB / 0.7987 GB, free: 6.07 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004001/0.02474, allocations: 471.5 kB / 0.7992 GB, free: 5.605 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005742/0.02531, allocations: 0.7168 MB / 0.7999 GB, free: 4.871 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001754/0.02549, allocations: 194.7 kB / 0.8 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001103/0.0256, allocations: 156.7 kB / 0.8002 GB, free: 4.523 MB / 0.7605 GB Notification: Performance of Backend: time 6.02e-07/0.0256, allocations: 0 / 0.8002 GB, free: 4.523 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008094/0.02641, allocations: 0.7485 MB / 0.8009 GB, free: 3.762 MB / 0.7605 GB Notification: Performance of SimCode: time 0.001598/0.02801, allocations: 1.719 MB / 0.8026 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of Templates: time 0.3315/0.3595, allocations: 13.5 MB / 0.8158 GB, free: 33.61 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.Validation.OptimalStartHeating.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.309428780339658]