Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.788/1.788, allocations: 285.6 MB / 293.1 MB, free: 10.14 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.0009883/0.0009883, allocations: 172.8 kB / 361.4 MB, free: 6.66 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.636/1.636, allocations: 205.2 MB / 0.62 GB, free: 11.7 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007609/0.0007609, allocations: 90 kB / 0.733 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.919e-05, allocations: 0 / 0.8518 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7029/0.703, allocations: 115.3 MB / 0.9644 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2209/0.9239, allocations: 146.1 MB / 1.107 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.9242, allocations: 63.97 kB / 1.107 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03515/0.9594, allocations: 12.27 MB / 1.119 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9594, allocations: 0 / 1.119 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.782e-05/0.9595, allocations: 23.98 kB / 1.119 GB, free: 13.39 MB / 0.7292 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.002154/0.9617, allocations: 0.9371 MB / 1.12 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.9618, allocations: 8.031 kB / 1.12 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003504/0.9621, allocations: 95.91 kB / 1.12 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.9632, allocations: 488.3 kB / 1.121 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.9632, allocations: 20 kB / 1.121 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.9633, allocations: 47.98 kB / 1.121 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008091/0.9642, allocations: 358.6 kB / 1.121 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.9652, allocations: 0.4918 MB / 1.122 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.9652, allocations: 0 / 1.122 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/0.9653, allocations: 7.984 kB / 1.122 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.9653, allocations: 12 kB / 1.122 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.9687, allocations: 1.968 MB / 1.124 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.9706, allocations: 0.8369 MB / 1.124 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.9709, allocations: 190.6 kB / 1.125 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.971, allocations: 16.42 kB / 1.125 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004357/0.9714, allocations: 245.7 kB / 1.125 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 3.166e-06/0.9715, allocations: 0 / 1.125 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.0008624/0.9723, allocations: 425.5 kB / 1.125 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.9724, allocations: 111.4 kB / 1.125 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004995/0.9729, allocations: 390 kB / 1.126 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.513e-05/0.973, allocations: 33.7 kB / 1.126 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.9733, allocations: 340.4 kB / 1.126 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.9735, allocations: 173.5 kB / 1.126 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.9735, allocations: 0 / 1.126 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.9737, allocations: 374.8 kB / 1.127 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.974, allocations: 165.3 kB / 1.127 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004087/0.9745, allocations: 308.9 kB / 1.127 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/0.975, allocations: 198.1 kB / 1.127 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.975, allocations: 0 / 1.127 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001082/0.9761, allocations: 0.5293 MB / 1.128 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003584/0.9764, allocations: 0.7399 MB / 1.128 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.9765, allocations: 8 kB / 1.128 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.9765, allocations: 4 kB / 1.128 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.9769, allocations: 107.8 kB / 1.129 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.977, allocations: 4 kB / 1.129 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.9775, allocations: 100.9 kB / 1.129 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.84e-05/0.9776, allocations: 24 kB / 1.129 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.9777, allocations: 0 / 1.129 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009168/0.9786, allocations: 445.2 kB / 1.129 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.9786, allocations: 8.219 kB / 1.129 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.9786, allocations: 4 kB / 1.129 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.979, allocations: 91.83 kB / 1.129 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.979, allocations: 11.89 kB / 1.129 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004828/0.9795, allocations: 87.62 kB / 1.129 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.9795, allocations: 27.98 kB / 1.129 GB, free: 2.641 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,$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,booToRea1.u,TRoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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.0001804/0.9797, allocations: 126.3 kB / 1.129 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006918/0.9804, allocations: 409.6 kB / 1.13 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.435e-05/0.9805, allocations: 60.28 kB / 1.13 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.9807, allocations: 75.88 kB / 1.13 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.9807, allocations: 8 kB / 1.13 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.9807, allocations: 0 / 1.13 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.9808, allocations: 3.984 kB / 1.13 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.9826, allocations: 1.1 MB / 1.131 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.9826, allocations: 4.062 kB / 1.131 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.983, allocations: 95.81 kB / 1.131 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.9831, allocations: 4 kB / 1.131 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.9831, allocations: 0 / 1.131 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.174e-05/0.9831, allocations: 4 kB / 1.131 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.9831, allocations: 1.219 kB / 1.131 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.9842, allocations: 0.7646 MB / 1.132 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.9844, allocations: 136.3 kB / 1.132 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/0.9844, allocations: 4 kB / 1.132 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.9847, allocations: 34.78 kB / 1.132 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/0.9848, allocations: 40.38 kB / 1.132 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.9849, allocations: 19.98 kB / 1.132 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003236/0.9852, allocations: 295 kB / 1.132 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9852, allocations: 0 / 1.132 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008627/0.9861, allocations: 262.9 kB / 1.133 GB, free: 15.12 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 52 * 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.001606/0.9877, allocations: 1.502 MB / 1.134 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.9891, allocations: 0.8594 MB / 1.135 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9891, allocations: 0 / 1.135 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.9895, allocations: 208.5 kB / 1.135 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.9901, allocations: 94.28 kB / 1.135 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.9923, allocations: 0.9149 MB / 1.136 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005968/0.993, allocations: 0.9387 MB / 1.137 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005495/0.9935, allocations: 110.6 kB / 1.137 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.9939, allocations: 251.3 kB / 1.137 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/0.9939, allocations: 0 / 1.137 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9573/1.951, allocations: 12.5 MB / 1.15 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/1.951, allocations: 189.1 kB / 1.15 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/4.353, allocations: 2.438 kB / 1.15 GB, free: 13.65 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling_fmu --startTime=0 --stopTime=2.4192e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)