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 1.603/1.603, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001225/0.001225, allocations: 178.7 kB / 371.6 MB, free: 3.371 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.494/1.494, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009658/0.000966, allocations: 90.8 kB / 0.745 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.605e-05/3.607e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.282, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.306, allocations: 147.7 MB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/1.306, allocations: 73.47 kB / 1.124 GB, free: 38.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03272/1.339, allocations: 12.35 MB / 1.136 GB, free: 31.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.375e-06/1.339, allocations: 0 / 1.136 GB, free: 31.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001039/1.339, allocations: 20.84 kB / 1.136 GB, free: 31.84 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00218/1.341, allocations: 0.9366 MB / 1.137 GB, free: 31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/1.341, allocations: 12.03 kB / 1.137 GB, free: 30.99 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002749/1.341, allocations: 99.48 kB / 1.137 GB, free: 30.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003213/1.342, allocations: 94.88 kB / 1.137 GB, free: 30.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/1.343, allocations: 492.7 kB / 1.138 GB, free: 30.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-05/1.343, allocations: 50.12 kB / 1.138 GB, free: 30.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/1.343, allocations: 76.2 kB / 1.138 GB, free: 30.36 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/1.344, allocations: 0.5731 MB / 1.139 GB, free: 30.01 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/1.344, allocations: 0.6562 kB / 1.139 GB, free: 30.01 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/1.344, allocations: 21.17 kB / 1.139 GB, free: 30.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/1.344, allocations: 16 kB / 1.139 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/1.345, allocations: 395.7 kB / 1.139 GB, free: 29.76 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/1.348, allocations: 2.107 MB / 1.141 GB, free: 28.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/1.35, allocations: 0.8681 MB / 1.142 GB, free: 27.72 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/1.35, allocations: 211.8 kB / 1.142 GB, free: 27.6 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/1.35, allocations: 11.77 kB / 1.142 GB, free: 27.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004745/1.351, allocations: 269.2 kB / 1.142 GB, free: 27.42 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=57): time 2.675e-06/1.351, allocations: 0 / 1.142 GB, free: 27.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=57): time 0.000794/1.352, allocations: 455.6 kB / 1.143 GB, free: 27.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/1.352, allocations: 112.7 kB / 1.143 GB, free: 26.97 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/1.352, allocations: 471.1 kB / 1.143 GB, free: 26.65 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/1.352, allocations: 41.94 kB / 1.143 GB, free: 26.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/1.353, allocations: 343 kB / 1.144 GB, free: 26.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/1.353, allocations: 185.3 kB / 1.144 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/1.353, allocations: 11.53 kB / 1.144 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.353, allocations: 379.8 kB / 1.144 GB, free: 25.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/1.353, allocations: 173.7 kB / 1.144 GB, free: 25.85 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/1.354, allocations: 324.6 kB / 1.145 GB, free: 25.58 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/1.354, allocations: 225.5 kB / 1.145 GB, free: 25.44 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.354, allocations: 0 / 1.145 GB, free: 25.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000936/1.355, allocations: 0.5965 MB / 1.146 GB, free: 25.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002958/1.355, allocations: 0.7391 MB / 1.146 GB, free: 24.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/1.355, allocations: 0.8438 kB / 1.146 GB, free: 24.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/1.355, allocations: 4.656 kB / 1.146 GB, free: 24.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/1.356, allocations: 107.6 kB / 1.146 GB, free: 24.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.356, allocations: 6.688 kB / 1.146 GB, free: 24.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005624/1.357, allocations: 127 kB / 1.146 GB, free: 24.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/1.357, allocations: 24.41 kB / 1.147 GB, free: 24.03 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/1.357, allocations: 5.25 kB / 1.147 GB, free: 24.02 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008444/1.357, allocations: 0.5168 MB / 1.147 GB, free: 23.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.358, allocations: 8.516 kB / 1.147 GB, free: 23.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/1.358, allocations: 4.516 kB / 1.147 GB, free: 23.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/1.358, allocations: 94 kB / 1.147 GB, free: 23.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/1.358, allocations: 4.562 kB / 1.147 GB, free: 23.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/1.358, allocations: 106.1 kB / 1.147 GB, free: 23.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/1.358, allocations: 20.58 kB / 1.147 GB, free: 23.5 MB / 0.7448 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.0001547/1.359, allocations: 149.5 kB / 1.147 GB, free: 23.37 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/1.359, allocations: 67.16 kB / 1.147 GB, free: 23.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/1.359, allocations: 76.8 kB / 1.148 GB, free: 23.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/1.359, allocations: 5.031 kB / 1.148 GB, free: 23.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/1.359, allocations: 4 kB / 1.148 GB, free: 23.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.359, allocations: 6.578 kB / 1.148 GB, free: 23.26 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/1.361, allocations: 1.21 MB / 1.149 GB, free: 22.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.361, allocations: 4 kB / 1.149 GB, free: 22.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/1.361, allocations: 96.05 kB / 1.149 GB, free: 22.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/1.361, allocations: 4 kB / 1.149 GB, free: 22.42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/1.361, allocations: 12.8 kB / 1.149 GB, free: 22.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/1.361, allocations: 0.6094 kB / 1.149 GB, free: 22.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.361, allocations: 0 / 1.149 GB, free: 22.42 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/1.363, allocations: 0.8107 MB / 1.15 GB, free: 21.82 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/1.363, allocations: 151 kB / 1.15 GB, free: 21.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.461e-05/1.363, allocations: 14.66 kB / 1.15 GB, free: 21.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/1.363, allocations: 38.28 kB / 1.15 GB, free: 21.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/1.363, allocations: 43.14 kB / 1.15 GB, free: 21.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/1.363, allocations: 17.17 kB / 1.15 GB, free: 21.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004277/1.364, allocations: 370.7 kB / 1.15 GB, free: 21.36 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.9e-07/1.364, allocations: 0.5625 kB / 1.15 GB, free: 21.36 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008246/1.364, allocations: 286.8 kB / 1.151 GB, free: 21.11 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.001464/1.366, allocations: 1.547 MB / 1.152 GB, free: 19.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001268/1.367, allocations: 0.915 MB / 1.153 GB, free: 19.1 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.367, allocations: 4.125 kB / 1.153 GB, free: 19.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003002/1.368, allocations: 204.8 kB / 1.153 GB, free: 18.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006329/1.368, allocations: 114.7 kB / 1.153 GB, free: 18.9 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/1.37, allocations: 0.98 MB / 1.154 GB, free: 18.1 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/1.371, allocations: 0.9374 MB / 1.155 GB, free: 17.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005454/1.371, allocations: 112.3 kB / 1.155 GB, free: 17.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/1.372, allocations: 252.1 kB / 1.155 GB, free: 17.12 MB / 0.7448 GB Notification: Performance of SimCode: time 1.483e-06/1.372, allocations: 0 / 1.155 GB, free: 17.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/1.41, allocations: 14.04 MB / 1.169 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/1.41, allocations: 179.3 kB / 1.169 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/4.046, allocations: 0 / 1.169 GB, free: 8.121 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)