Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.74/2.74, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001438/0.001438, allocations: 172.9 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001037/0.001036, allocations: 98.52 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.949e-05/2.949e-05, allocations: 0 / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8436/0.8437, allocations: 115.3 MB / 0.9634 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2684/1.112, allocations: 145.9 MB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/1.113, allocations: 73.22 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05486/1.167, allocations: 12.27 MB / 1.118 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.994e-06/1.167, allocations: 5.219 kB / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.984e-05/1.168, allocations: 19.98 kB / 1.118 GB, free: 14.21 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.002303/1.17, allocations: 0.9254 MB / 1.119 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 8.099e-05/1.17, allocations: 8.031 kB / 1.119 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003457/1.17, allocations: 103.2 kB / 1.119 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/1.172, allocations: 492 kB / 1.119 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/1.172, allocations: 20 kB / 1.119 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/1.172, allocations: 40 kB / 1.12 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001186/1.173, allocations: 362.6 kB / 1.12 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/1.174, allocations: 0.4918 MB / 1.12 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/1.174, allocations: 0 / 1.12 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/1.175, allocations: 0 / 1.12 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/1.175, allocations: 16 kB / 1.12 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004925/1.18, allocations: 1.966 MB / 1.122 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/1.183, allocations: 0.8429 MB / 1.123 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005422/1.183, allocations: 199.8 kB / 1.123 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.498e-05/1.183, allocations: 4.438 kB / 1.123 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006487/1.184, allocations: 245.2 kB / 1.124 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 4.107e-06/1.184, allocations: 480 / 1.124 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.001392/1.185, allocations: 425.5 kB / 1.124 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/1.186, allocations: 115.4 kB / 1.124 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008137/1.186, allocations: 394 kB / 1.124 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/1.187, allocations: 33.69 kB / 1.124 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003911/1.187, allocations: 336.4 kB / 1.125 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/1.187, allocations: 173.5 kB / 1.125 GB, free: 6.789 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/1.187, allocations: 4 kB / 1.125 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001984/1.187, allocations: 367.6 kB / 1.125 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/1.188, allocations: 165.3 kB / 1.125 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/1.189, allocations: 310 kB / 1.126 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007998/1.189, allocations: 198.1 kB / 1.126 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/1.189, allocations: 0 / 1.126 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001758/1.191, allocations: 0.5334 MB / 1.126 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004002/1.192, allocations: 0.7381 MB / 1.127 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/1.192, allocations: 4 kB / 1.127 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/1.192, allocations: 7.375 kB / 1.127 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008155/1.193, allocations: 103.8 kB / 1.127 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/1.193, allocations: 8.922 kB / 1.127 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000992/1.194, allocations: 99.62 kB / 1.127 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.777e-05/1.194, allocations: 23.98 kB / 1.127 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.194, allocations: 4 kB / 1.127 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001517/1.195, allocations: 449.2 kB / 1.128 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.195, allocations: 5.438 kB / 1.128 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.195, allocations: 7.953 kB / 1.128 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/1.196, allocations: 91.83 kB / 1.128 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.196, allocations: 7.938 kB / 1.128 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009002/1.197, allocations: 87.75 kB / 1.128 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/1.197, allocations: 27.98 kB / 1.128 GB, free: 3.473 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.0002648/1.197, allocations: 124.5 kB / 1.128 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001178/1.199, allocations: 421.6 kB / 1.129 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/1.199, allocations: 59.2 kB / 1.129 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/1.199, allocations: 62.12 kB / 1.129 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.199, allocations: 4 kB / 1.129 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.199, allocations: 0 / 1.129 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/1.199, allocations: 3.984 kB / 1.129 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/1.202, allocations: 1.109 MB / 1.13 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.202, allocations: 0 / 1.13 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008032/1.202, allocations: 87.83 kB / 1.13 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.602e-05/1.202, allocations: 7.984 kB / 1.13 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/1.202, allocations: 11.98 kB / 1.13 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.202, allocations: 0 / 1.13 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/1.203, allocations: 4.781 kB / 1.13 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/1.204, allocations: 0.7529 MB / 1.131 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/1.205, allocations: 140.3 kB / 1.131 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/1.205, allocations: 4 kB / 1.131 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/1.205, allocations: 35.97 kB / 1.131 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.205, allocations: 40.38 kB / 1.131 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-05/1.205, allocations: 19.98 kB / 1.131 GB, free: 500 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000565/1.206, allocations: 294.9 kB / 1.131 GB, free: 208 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5.41e-07/1.206, allocations: 0 / 1.131 GB, free: 208 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001268/1.207, allocations: 263 kB / 1.131 GB, free: 15.94 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.002405/1.21, allocations: 1.502 MB / 1.133 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002152/1.212, allocations: 0.8594 MB / 1.134 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.212, allocations: 0 / 1.134 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005487/1.213, allocations: 201.7 kB / 1.134 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/1.214, allocations: 98.52 kB / 1.134 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/1.217, allocations: 0.9175 MB / 1.135 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006685/1.217, allocations: 0.9353 MB / 1.136 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008467/1.218, allocations: 106.6 kB / 1.136 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/1.219, allocations: 251.3 kB / 1.136 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of SimCode: time 1.163e-06/1.219, allocations: 3.938 kB / 1.136 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0805/1.299, allocations: 12.49 MB / 1.148 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/1.3, allocations: 169.5 kB / 1.149 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.184/4.484, allocations: 0 / 1.149 GB, free: 14.51 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling_fmu --startTime=0 --stopTime=2.4192e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.fmu > Buildings_8.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)