Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.45/2.45, allocations: 387.4 MB / 394.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 184.8 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008804/0.0008801, allocations: 107.8 kB / 0.9219 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.166e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3096, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.427, allocations: 157.6 MB / 1.36 GB, free: 17.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/1.427, allocations: 73.12 kB / 1.36 GB, free: 17.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03137/1.458, allocations: 12.08 MB / 1.372 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.814e-06/1.458, allocations: 0 / 1.372 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.52e-05/1.458, allocations: 15.62 kB / 1.372 GB, free: 32.88 MB / 0.8386 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.001491/1.46, allocations: 0.9067 MB / 1.373 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/1.46, allocations: 8.156 kB / 1.373 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/1.46, allocations: 89.31 kB / 1.373 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007679/1.461, allocations: 479.8 kB / 1.373 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/1.461, allocations: 19.16 kB / 1.373 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-05/1.461, allocations: 45.53 kB / 1.373 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006034/1.462, allocations: 356.6 kB / 1.374 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007702/1.462, allocations: 488.9 kB / 1.374 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/1.462, allocations: 0 / 1.374 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/1.462, allocations: 0 / 1.374 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/1.463, allocations: 15.28 kB / 1.374 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/1.465, allocations: 1.918 MB / 1.376 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/1.467, allocations: 0.83 MB / 1.377 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/1.467, allocations: 219.7 kB / 1.377 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/1.467, allocations: 8.234 kB / 1.377 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003816/1.467, allocations: 243.9 kB / 1.377 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 2.505e-06/1.467, allocations: 0 / 1.377 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.000754/1.468, allocations: 404.6 kB / 1.378 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/1.468, allocations: 111.2 kB / 1.378 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/1.469, allocations: 366.2 kB / 1.378 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/1.469, allocations: 33.56 kB / 1.378 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/1.469, allocations: 328.8 kB / 1.378 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/1.469, allocations: 167 kB / 1.379 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/1.469, allocations: 7.031 kB / 1.379 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000179/1.469, allocations: 362.2 kB / 1.379 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/1.469, allocations: 162.1 kB / 1.379 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/1.47, allocations: 295.3 kB / 1.379 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/1.47, allocations: 194.6 kB / 1.38 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.47, allocations: 3.938 kB / 1.38 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007929/1.471, allocations: 0.5134 MB / 1.38 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003558/1.471, allocations: 0.7351 MB / 1.381 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/1.471, allocations: 7.969 kB / 1.381 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/1.471, allocations: 3.906 kB / 1.381 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/1.472, allocations: 104.5 kB / 1.381 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.472, allocations: 3.875 kB / 1.381 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/1.472, allocations: 105 kB / 1.381 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/1.472, allocations: 22.38 kB / 1.381 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/1.472, allocations: 3.875 kB / 1.381 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007236/1.473, allocations: 430.1 kB / 1.381 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.473, allocations: 11.89 kB / 1.381 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/1.473, allocations: 7.766 kB / 1.381 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/1.473, allocations: 90.44 kB / 1.382 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/1.473, allocations: 3.875 kB / 1.382 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/1.474, allocations: 97.64 kB / 1.382 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/1.474, allocations: 21.44 kB / 1.382 GB, free: 28.12 MB / 0.8386 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.0001627/1.474, allocations: 133.2 kB / 1.382 GB, free: 28 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005491/1.475, allocations: 398.1 kB / 1.382 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/1.475, allocations: 54.48 kB / 1.382 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/1.475, allocations: 58.73 kB / 1.382 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/1.475, allocations: 3.875 kB / 1.382 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/1.475, allocations: 0 / 1.382 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/1.475, allocations: 3.984 kB / 1.382 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/1.476, allocations: 1.064 MB / 1.383 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.476, allocations: 3.938 kB / 1.383 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/1.477, allocations: 92.39 kB / 1.383 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/1.477, allocations: 3.938 kB / 1.383 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/1.477, allocations: 14.98 kB / 1.383 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.477, allocations: 3.781 kB / 1.383 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.477, allocations: 0 / 1.383 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008894/1.478, allocations: 0.7226 MB / 1.384 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/1.478, allocations: 139.4 kB / 1.384 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.343e-05/1.478, allocations: 7.312 kB / 1.384 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/1.478, allocations: 31.25 kB / 1.384 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/1.478, allocations: 35.09 kB / 1.384 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/1.478, allocations: 19.17 kB / 1.384 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002692/1.478, allocations: 282.2 kB / 1.385 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.478, allocations: 0 / 1.385 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001091/1.479, allocations: 252.4 kB / 1.385 GB, free: 26.71 MB / 0.8386 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.001398/1.481, allocations: 1.475 MB / 1.386 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001022/1.482, allocations: 0.8367 MB / 1.387 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.482, allocations: 4.812 kB / 1.387 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/1.482, allocations: 197.2 kB / 1.387 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006784/1.483, allocations: 94.45 kB / 1.387 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/1.484, allocations: 0.8791 MB / 1.388 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/1.485, allocations: 0.9212 MB / 1.389 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003873/1.485, allocations: 96.22 kB / 1.389 GB, free: 24.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/1.486, allocations: 241.8 kB / 1.39 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of SimCode: time 7.52e-07/1.486, allocations: 0 / 1.39 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/1.519, allocations: 11.89 MB / 1.401 GB, free: 18.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/1.519, allocations: 175.6 kB / 1.401 GB, free: 18.35 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/4.029, allocations: 0 / 1.401 GB, free: 18.35 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling_fmu --startTime=0 --stopTime=2.4192e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.fmu > Buildings_9_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)