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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 2.021/2.021, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001395/0.001395, allocations: 181 kB / 377.1 MB, free: 1.523 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.83/1.83, allocations: 205.4 MB / 0.6366 GB, free: 8.641 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.0008561/0.0008561, allocations: 90.92 kB / 0.7509 GB, free: 62.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 15.98 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2722, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7047/0.977, allocations: 147.8 MB / 1.133 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.9773, allocations: 71.27 kB / 1.133 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03563/1.013, allocations: 12.41 MB / 1.145 GB, free: 20.49 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.903e-06/1.013, allocations: 0 / 1.145 GB, free: 20.49 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.759e-05/1.013, allocations: 20 kB / 1.145 GB, free: 20.47 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.002578/1.016, allocations: 1.037 MB / 1.146 GB, free: 19.47 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/1.016, allocations: 12.03 kB / 1.146 GB, free: 19.46 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003282/1.016, allocations: 104.4 kB / 1.146 GB, free: 19.37 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/1.016, allocations: 88.33 kB / 1.146 GB, free: 19.28 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/1.018, allocations: 0.4968 MB / 1.147 GB, free: 18.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/1.018, allocations: 49.31 kB / 1.147 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/1.018, allocations: 68.94 kB / 1.147 GB, free: 18.69 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/1.019, allocations: 0.6147 MB / 1.147 GB, free: 18.15 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/1.019, allocations: 0 / 1.147 GB, free: 18.15 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/1.019, allocations: 29.5 kB / 1.147 GB, free: 18.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/1.019, allocations: 13.5 kB / 1.147 GB, free: 18.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009716/1.02, allocations: 473.5 kB / 1.148 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004309/1.025, allocations: 2.095 MB / 1.15 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/1.027, allocations: 0.9478 MB / 1.151 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/1.027, allocations: 4.438 kB / 1.151 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005956/1.027, allocations: 314 kB / 1.151 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 3.357e-06/1.027, allocations: 0 / 1.151 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.001482/1.029, allocations: 0.7642 MB / 1.152 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/1.029, allocations: 116.5 kB / 1.152 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008005/1.03, allocations: 479.4 kB / 1.152 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/1.03, allocations: 45.7 kB / 1.153 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/1.03, allocations: 338.3 kB / 1.153 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/1.03, allocations: 177 kB / 1.153 GB, free: 13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/1.03, allocations: 8 kB / 1.153 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.03, allocations: 385.1 kB / 1.153 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/1.031, allocations: 212.3 kB / 1.154 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005605/1.031, allocations: 370.5 kB / 1.154 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/1.032, allocations: 266 kB / 1.154 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.032, allocations: 0 / 1.154 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001091/1.033, allocations: 0.6662 MB / 1.155 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/1.033, allocations: 0.7373 MB / 1.156 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/1.033, allocations: 5.125 kB / 1.156 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.033, allocations: 4 kB / 1.156 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/1.034, allocations: 102.4 kB / 1.156 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.034, allocations: 9.219 kB / 1.156 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/1.034, allocations: 130.8 kB / 1.156 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/1.034, allocations: 23.11 kB / 1.156 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/1.034, allocations: 4 kB / 1.156 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008474/1.035, allocations: 0.5312 MB / 1.156 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/1.035, allocations: 9.719 kB / 1.156 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-06/1.035, allocations: 7.953 kB / 1.156 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/1.036, allocations: 89.77 kB / 1.156 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.036, allocations: 4.938 kB / 1.156 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/1.036, allocations: 100.6 kB / 1.157 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/1.036, allocations: 26.78 kB / 1.157 GB, free: 9.465 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 () * Number of clocked 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.0003732/1.036, allocations: 277.7 kB / 1.157 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/1.036, allocations: 68.22 kB / 1.157 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/1.037, allocations: 82.19 kB / 1.157 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/1.037, allocations: 5.547 kB / 1.157 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.037, allocations: 0 / 1.157 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.037, allocations: 1.688 kB / 1.157 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/1.038, allocations: 1.296 MB / 1.158 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.038, allocations: 5.031 kB / 1.158 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/1.039, allocations: 93.73 kB / 1.158 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/1.039, allocations: 0 / 1.158 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/1.039, allocations: 14.45 kB / 1.158 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/1.039, allocations: 4 kB / 1.158 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.039, allocations: 0 / 1.158 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/1.04, allocations: 0.9081 MB / 1.159 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/1.04, allocations: 151 kB / 1.159 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.826e-05/1.04, allocations: 13.64 kB / 1.159 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002914/1.041, allocations: 43.5 kB / 1.159 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/1.041, allocations: 36.98 kB / 1.159 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/1.041, allocations: 19.12 kB / 1.16 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003866/1.041, allocations: 377.5 kB / 1.16 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.041, allocations: 0 / 1.16 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007842/1.042, allocations: 286 kB / 1.16 GB, free: 6.105 MB / 0.7292 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) * Number of clocked states: 0 () * 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.001638/1.044, allocations: 1.65 MB / 1.162 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001436/1.045, allocations: 0.9742 MB / 1.163 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.045, allocations: 4.062 kB / 1.163 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003634/1.045, allocations: 242.5 kB / 1.163 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/1.046, allocations: 113.9 kB / 1.163 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/1.048, allocations: 2.86 MB / 1.166 GB, free: 236 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/1.049, allocations: 0.9342 MB / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003586/1.049, allocations: 85.94 kB / 1.167 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/1.05, allocations: 263.3 kB / 1.167 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/1.05, allocations: 0 / 1.167 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/1.081, allocations: 12.85 MB / 1.18 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/1.081, allocations: 209.8 kB / 1.18 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/3.623, allocations: 0 / 1.18 GB, free: 2.152 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling_fmu --startTime=0 --stopTime=2.4192e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.fmu > Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)