Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009313/0.0009322, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00854/0.00854, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.859/1.859, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005781/0.0005781, allocations: 17.19 kB / 0.6743 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3182, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.006876/0.3251, allocations: 5.568 MB / 0.7933 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005959/0.3311, allocations: 2.768 MB / 0.796 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.3326, allocations: 39.81 kB / 0.7961 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.333, allocations: 87.17 kB / 0.7961 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003828/0.3334, allocations: 87.23 kB / 0.7962 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.3347, allocations: 426.4 kB / 0.7966 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000996/0.3357, allocations: 0.8292 MB / 0.7974 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007127/0.3364, allocations: 406.7 kB / 0.7978 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004359/0.3368, allocations: 234.6 kB / 0.798 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004093/0.3373, allocations: 274.2 kB / 0.7983 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.976e-05/0.3373, allocations: 24 kB / 0.7983 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.3376, allocations: 115.9 kB / 0.7984 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.3378, allocations: 107.3 kB / 0.7985 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.3382, allocations: 331.5 kB / 0.7989 GB, free: 280 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.3392, allocations: 0.9651 MB / 0.7998 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3392, allocations: 0 / 0.7998 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3393, allocations: 4 kB / 0.7998 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.3393, allocations: 0 / 0.7998 GB, free: 15.3 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002/0.3413, allocations: 1.004 MB / 0.8008 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3413, allocations: 8.031 kB / 0.8008 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.3415, allocations: 95.81 kB / 0.8009 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/0.3422, allocations: 0.5124 MB / 0.8014 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.3422, allocations: 53.69 kB / 0.8014 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.3423, allocations: 64.38 kB / 0.8015 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.3434, allocations: 0.6198 MB / 0.8021 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3434, allocations: 192 / 0.8021 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/0.3435, allocations: 31.94 kB / 0.8021 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.3435, allocations: 12 kB / 0.8021 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009356/0.3445, allocations: 464.9 kB / 0.8026 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.348, allocations: 2.351 MB / 0.8049 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.3502, allocations: 0.9522 MB / 0.8058 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004512/0.3507, allocations: 242.1 kB / 0.806 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/0.3507, allocations: 16.25 kB / 0.8061 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005514/0.3513, allocations: 277.2 kB / 0.8063 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 2.204e-06/0.3513, allocations: 0 / 0.8063 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.001489/0.3528, allocations: 0.6233 MB / 0.8069 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.3529, allocations: 127.2 kB / 0.8071 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007098/0.3537, allocations: 0.5223 MB / 0.8076 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.746e-05/0.3537, allocations: 41.7 kB / 0.8076 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.3541, allocations: 352.2 kB / 0.8079 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.3542, allocations: 169.7 kB / 0.8081 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3543, allocations: 61.69 kB / 0.8082 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.3546, allocations: 374.8 kB / 0.8085 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.355, allocations: 217.2 kB / 0.8087 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005847/0.3556, allocations: 391.6 kB / 0.8091 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009196/0.3565, allocations: 0.5495 MB / 0.8096 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.3566, allocations: 3.938 kB / 0.8096 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001294/0.3579, allocations: 0.6987 MB / 0.8103 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001765/0.358, allocations: 235.2 kB / 0.8105 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.3581, allocations: 4 kB / 0.8106 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.3581, allocations: 12 kB / 0.8106 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.3585, allocations: 107.8 kB / 0.8107 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/0.3585, allocations: 15.92 kB / 0.8107 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005754/0.3591, allocations: 131.3 kB / 0.8108 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.3592, allocations: 28 kB / 0.8108 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.3592, allocations: 11.88 kB / 0.8108 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000944/0.3601, allocations: 0.565 MB / 0.8114 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.3602, allocations: 4 kB / 0.8114 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.3602, allocations: 16.47 kB / 0.8114 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.3605, allocations: 95.84 kB / 0.8115 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3605, allocations: 11.92 kB / 0.8115 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004918/0.361, allocations: 117.2 kB / 0.8116 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.3611, allocations: 24 kB / 0.8117 GB, free: 2.594 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,occSch.tNext,$PRE.occSch.tNext,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tOcc,$PRE.occSch.tOcc,occSch.occupied,$PRE.occSch.occupied,optSta.falEdg.not_u,$PRE.optSta.falEdg.not_u,optSta.falEdg.y,optSta.hysSta.greHys.y,$PRE.optSta.hysSta.greHys.y,$whenCondition3,conPID.con1.y,conPID1.con1.y,optSta.con3.y,optSta.con.y,optSta.optOn,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * 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.0003907/0.3615, allocations: 287.3 kB / 0.8119 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.437e-05/0.3616, allocations: 67.09 kB / 0.812 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.3617, allocations: 70.31 kB / 0.8121 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3617, allocations: 12 kB / 0.8121 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.3617, allocations: 0 / 0.8121 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.3618, allocations: 3.984 kB / 0.8121 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.3637, allocations: 1.189 MB / 0.8132 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3637, allocations: 0 / 0.8132 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.3641, allocations: 87.88 kB / 0.8133 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3641, allocations: 4 kB / 0.8133 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.3641, allocations: 12 kB / 0.8133 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3641, allocations: 0 / 0.8133 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3641, allocations: 80 / 0.8133 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.3655, allocations: 0.8064 MB / 0.8141 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.3656, allocations: 140.3 kB / 0.8143 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/0.3657, allocations: 12 kB / 0.8143 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.366, allocations: 35.97 kB / 0.8143 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3661, allocations: 40.38 kB / 0.8143 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.3661, allocations: 11.94 kB / 0.8144 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004353/0.3666, allocations: 362.8 kB / 0.8147 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3666, allocations: 0 / 0.8147 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008536/0.3674, allocations: 279 kB / 0.815 GB, free: 15.09 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 11 ($whenCondition3,$whenCondition1,$whenCondition2,optSta.hysSta.greHys.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext,pul.booPul.y) * Number of discrete states: 3 (occSch.tNext,optSta.hysSta.greHys.y,optSta.falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002637/0.3677, allocations: 162.9 kB / 0.8151 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.3694, allocations: 0.9684 MB / 0.8161 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3694, allocations: 0 / 0.8161 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.3698, allocations: 231.5 kB / 0.8163 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007235/0.3705, allocations: 114.2 kB / 0.8164 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.3726, allocations: 1.395 MB / 0.8178 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.3731, allocations: 0.9064 MB / 0.8186 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003094/0.3734, allocations: 88.7 kB / 0.8187 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.3736, allocations: 43.42 kB / 0.8188 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/0.3736, allocations: 0 / 0.8188 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.01386/0.3874, allocations: 7.264 MB / 0.8259 GB, free: 3.906 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1) Environment - environmentSimulation: