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.692/1.692, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001141/0.001141, allocations: 176.8 kB / 366.7 MB, free: 1.629 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.793/1.793, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0008974/0.0008978, allocations: 90.95 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.582e-05/1.585e-05, allocations: 0 / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8248/0.8249, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2357/1.061, allocations: 147.1 MB / 1.117 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/1.061, allocations: 67.95 kB / 1.117 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03564/1.097, allocations: 12.27 MB / 1.129 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.735e-06/1.097, allocations: 0 / 1.129 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.247e-05/1.097, allocations: 23.92 kB / 1.129 GB, free: 6.801 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.001785/1.099, allocations: 0.9294 MB / 1.13 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/1.099, allocations: 11.97 kB / 1.13 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/1.099, allocations: 94.88 kB / 1.13 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000839/1.1, allocations: 492.4 kB / 1.131 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/1.1, allocations: 20 kB / 1.131 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.55e-05/1.1, allocations: 44 kB / 1.131 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007035/1.101, allocations: 360.5 kB / 1.131 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009088/1.102, allocations: 499.7 kB / 1.131 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/1.102, allocations: 7.938 kB / 1.131 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/1.102, allocations: 5.5 kB / 1.131 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/1.102, allocations: 16 kB / 1.131 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/1.105, allocations: 1.961 MB / 1.133 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/1.106, allocations: 0.847 MB / 1.134 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/1.107, allocations: 196.3 kB / 1.134 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/1.107, allocations: 4.438 kB / 1.134 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004339/1.107, allocations: 253.2 kB / 1.135 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 2.925e-06/1.107, allocations: 0 / 1.135 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.0008042/1.108, allocations: 421.8 kB / 1.135 GB, free: 456 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/1.108, allocations: 115.4 kB / 1.135 GB, free: 316 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/1.109, allocations: 386.1 kB / 1.135 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.24e-05/1.109, allocations: 37.69 kB / 1.136 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/1.109, allocations: 340.4 kB / 1.136 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/1.109, allocations: 173.5 kB / 1.136 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/1.109, allocations: 0 / 1.136 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.109, allocations: 374.8 kB / 1.136 GB, free: 15 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/1.11, allocations: 161.3 kB / 1.137 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/1.11, allocations: 312.7 kB / 1.137 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/1.111, allocations: 202 kB / 1.137 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/1.111, allocations: 0 / 1.137 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009509/1.112, allocations: 0.5255 MB / 1.138 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003865/1.112, allocations: 0.7422 MB / 1.138 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.112, allocations: 4 kB / 1.138 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.112, allocations: 4 kB / 1.138 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/1.112, allocations: 103.8 kB / 1.138 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.112, allocations: 4 kB / 1.138 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005051/1.113, allocations: 103.6 kB / 1.138 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-05/1.113, allocations: 27.98 kB / 1.138 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/1.113, allocations: 4.781 kB / 1.139 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008586/1.114, allocations: 443.7 kB / 1.139 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.114, allocations: 0 / 1.139 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/1.114, allocations: 12.16 kB / 1.139 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/1.114, allocations: 91.83 kB / 1.139 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.114, allocations: 11.23 kB / 1.139 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/1.115, allocations: 91.56 kB / 1.139 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/1.115, allocations: 24 kB / 1.139 GB, free: 12.05 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.00015/1.115, allocations: 122.7 kB / 1.139 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006594/1.116, allocations: 413.5 kB / 1.14 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.481e-05/1.116, allocations: 59.25 kB / 1.14 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/1.116, allocations: 70.08 kB / 1.14 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/1.116, allocations: 8 kB / 1.14 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.116, allocations: 0 / 1.14 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-05/1.116, allocations: 3.984 kB / 1.14 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/1.118, allocations: 1.1 MB / 1.141 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.118, allocations: 0 / 1.141 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/1.118, allocations: 95.89 kB / 1.141 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/1.118, allocations: 4 kB / 1.141 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/1.118, allocations: 3.984 kB / 1.141 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/1.118, allocations: 6.125 kB / 1.141 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.118, allocations: 0 / 1.141 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/1.119, allocations: 0.7607 MB / 1.142 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/1.119, allocations: 136.3 kB / 1.142 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/1.119, allocations: 4.094 kB / 1.142 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/1.12, allocations: 31.97 kB / 1.142 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/1.12, allocations: 48.3 kB / 1.142 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/1.12, allocations: 16 kB / 1.142 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003424/1.12, allocations: 300.6 kB / 1.142 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.12, allocations: 0 / 1.142 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007738/1.121, allocations: 254.9 kB / 1.142 GB, free: 8.531 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.001709/1.123, allocations: 1.502 MB / 1.144 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001326/1.124, allocations: 0.86 MB / 1.145 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.124, allocations: 8.188 kB / 1.145 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002959/1.124, allocations: 197.7 kB / 1.145 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/1.125, allocations: 102.6 kB / 1.145 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/1.127, allocations: 0.9139 MB / 1.146 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/1.128, allocations: 0.9387 MB / 1.147 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004496/1.128, allocations: 102.5 kB / 1.147 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/1.128, allocations: 251.3 kB / 1.147 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/1.128, allocations: 0 / 1.147 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04114/1.17, allocations: 12.5 MB / 1.159 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003326/1.17, allocations: 166.4 kB / 1.16 GB, free: 7.066 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.547/3.717, allocations: 0 / 1.16 GB, free: 7.066 MB / 0.7605 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)