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.0009608/0.0009609, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009336/0.0009336, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.631/1.631, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005852/0.0005852, allocations: 15.22 kB / 0.6735 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2472, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.005989/0.2533, allocations: 5.259 MB / 0.7922 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004766/0.2581, allocations: 2.698 MB / 0.7949 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007032/0.2588, allocations: 43.81 kB / 0.7949 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003717/0.2592, allocations: 154.3 kB / 0.7951 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006855/0.2599, allocations: 259 kB / 0.7953 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.2617, allocations: 0.7793 MB / 0.7961 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007031/0.2624, allocations: 0.5256 MB / 0.7966 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006128/0.263, allocations: 493.8 kB / 0.7971 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.2633, allocations: 226.9 kB / 0.7973 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.2636, allocations: 250.5 kB / 0.7975 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.2636, allocations: 24 kB / 0.7975 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.2638, allocations: 111.8 kB / 0.7976 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.2639, allocations: 99.52 kB / 0.7977 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.2641, allocations: 145.2 kB / 0.7979 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006877/0.2648, allocations: 0.7795 MB / 0.7986 GB, free: 92 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2648, allocations: 0 / 0.7986 GB, free: 92 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2648, allocations: 4 kB / 0.7986 GB, free: 88 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.2648, allocations: 0 / 0.7986 GB, free: 88 kB / 0.6075 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.00171/0.2665, allocations: 1.015 MB / 0.7996 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2666, allocations: 8.031 kB / 0.7996 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.2667, allocations: 94.88 kB / 0.7997 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006563/0.2674, allocations: 499.9 kB / 0.8002 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/0.2674, allocations: 53.3 kB / 0.8003 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.903e-05/0.2675, allocations: 68 kB / 0.8003 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009921/0.2685, allocations: 0.6075 MB / 0.8009 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.2686, allocations: 0 / 0.8009 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/0.2686, allocations: 28 kB / 0.8009 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.2686, allocations: 20 kB / 0.801 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008586/0.2695, allocations: 460.9 kB / 0.8014 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002991/0.2725, allocations: 2.343 MB / 0.8037 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.2746, allocations: 0.9632 MB / 0.8046 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.2746, allocations: 8.375 kB / 0.8046 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004723/0.2751, allocations: 269.3 kB / 0.8049 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 2.184e-06/0.2751, allocations: 0 / 0.8049 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.001248/0.2764, allocations: 0.7121 MB / 0.8056 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.2765, allocations: 111.2 kB / 0.8057 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.2771, allocations: 0.5146 MB / 0.8062 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.2772, allocations: 37.7 kB / 0.8062 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.2774, allocations: 364.2 kB / 0.8066 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.2776, allocations: 161.7 kB / 0.8067 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.2776, allocations: 12 kB / 0.8067 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2778, allocations: 378.8 kB / 0.8071 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.2782, allocations: 205.2 kB / 0.8073 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005376/0.2787, allocations: 391.5 kB / 0.8077 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.2792, allocations: 267.8 kB / 0.8079 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.2792, allocations: 4 kB / 0.8079 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001168/0.2804, allocations: 0.6948 MB / 0.8086 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006804/0.2811, allocations: 1.521 MB / 0.8101 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.2811, allocations: 4 kB / 0.8101 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.2811, allocations: 12 kB / 0.8101 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.2815, allocations: 111.8 kB / 0.8102 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.2815, allocations: 11.94 kB / 0.8102 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005436/0.2821, allocations: 131.4 kB / 0.8104 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.2822, allocations: 27.94 kB / 0.8104 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.2822, allocations: 4 kB / 0.8104 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009051/0.2831, allocations: 0.5573 MB / 0.8109 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.2831, allocations: 11.97 kB / 0.8109 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.026e-06/0.2831, allocations: 8.5 kB / 0.811 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.2835, allocations: 95.84 kB / 0.811 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.2835, allocations: 11.98 kB / 0.8111 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/0.2839, allocations: 115.4 kB / 0.8112 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.284, allocations: 24 kB / 0.8112 GB, free: 2.637 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,$whenCondition3,$PRE.optSta.hysSta.greHys.y,optSta.hysSta.greHys.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,$PRE.pul.booPul.y,pul.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003528/0.2843, allocations: 294.6 kB / 0.8115 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.463e-05/0.2844, allocations: 59.25 kB / 0.8115 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.2845, allocations: 70.31 kB / 0.8116 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2846, allocations: 4 kB / 0.8116 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.2846, allocations: 4 kB / 0.8116 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.2846, allocations: 7.938 kB / 0.8116 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.2863, allocations: 1.189 MB / 0.8128 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2863, allocations: 4 kB / 0.8128 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/0.2867, allocations: 79.83 kB / 0.8129 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.2867, allocations: 4 kB / 0.8129 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.2867, allocations: 16 kB / 0.8129 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2867, allocations: 3.953 kB / 0.8129 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2867, allocations: 0 / 0.8129 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.288, allocations: 0.7909 MB / 0.8136 GB, free: 36 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2881, allocations: 144.2 kB / 0.8138 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.2882, allocations: 12 kB / 0.8138 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.2885, allocations: 43.91 kB / 0.8138 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.2886, allocations: 40.33 kB / 0.8139 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.2886, allocations: 15.98 kB / 0.8139 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003681/0.289, allocations: 346.9 kB / 0.8142 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.289, allocations: 4 kB / 0.8142 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007824/0.2898, allocations: 279 kB / 0.8145 GB, free: 15.15 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002401/0.29, allocations: 155.8 kB / 0.8146 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.2916, allocations: 0.9647 MB / 0.8156 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2916, allocations: 0 / 0.8156 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.292, allocations: 223.2 kB / 0.8158 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.2926, allocations: 120.6 kB / 0.8159 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.2946, allocations: 1.323 MB / 0.8172 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.2951, allocations: 0.9259 MB / 0.8181 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002896/0.2954, allocations: 84.7 kB / 0.8182 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.2955, allocations: 43.44 kB / 0.8182 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of SimCode: time 3.8e-07/0.2955, allocations: 0 / 0.8182 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of Templates: time 0.01293/0.3085, allocations: 7.009 MB / 0.8251 GB, free: 4.293 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: