Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.373/2.373, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001347/0.001347, allocations: 171 kB / 0.4901 GB, free: 2.262 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.593/1.593, allocations: 223.1 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 96.58 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004257, allocations: 7.938 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.313, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.209/0.5221, allocations: 159.1 MB / 1.385 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5224, allocations: 71.95 kB / 1.385 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03588/0.5583, allocations: 12.2 MB / 1.397 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.815e-06/0.5583, allocations: 0 / 1.397 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.442e-05/0.5584, allocations: 16 kB / 1.397 GB, free: 14.04 MB / 0.9011 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.002443/0.5609, allocations: 0.9957 MB / 1.398 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.5609, allocations: 8.031 kB / 1.398 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002583/0.5612, allocations: 102.5 kB / 1.398 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002937/0.5615, allocations: 95.27 kB / 1.398 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.5625, allocations: 485.8 kB / 1.398 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/0.5626, allocations: 53.31 kB / 1.398 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.5628, allocations: 64 kB / 1.398 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.5639, allocations: 0.6075 MB / 1.399 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.5639, allocations: 0 / 1.399 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-05/0.564, allocations: 28 kB / 1.399 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.564, allocations: 19.98 kB / 1.399 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009857/0.565, allocations: 460.9 kB / 1.4 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003433/0.5685, allocations: 2.06 MB / 1.402 GB, free: 8.879 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.5705, allocations: 0.9263 MB / 1.402 GB, free: 7.906 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.5706, allocations: 8.438 kB / 1.402 GB, free: 7.898 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005844/0.5712, allocations: 294.4 kB / 1.403 GB, free: 7.598 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=57): time 3.366e-06/0.5712, allocations: 0 / 1.403 GB, free: 7.598 MB / 0.9011 GB Notification: Performance of matching and sorting (n=57): time 0.001512/0.5727, allocations: 0.745 MB / 1.403 GB, free: 6.824 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.5728, allocations: 119.4 kB / 1.404 GB, free: 6.684 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/0.5734, allocations: 450.1 kB / 1.404 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.5736, allocations: 49.64 kB / 1.404 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.5739, allocations: 312.8 kB / 1.404 GB, free: 5.871 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.5741, allocations: 181.4 kB / 1.404 GB, free: 5.691 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.5741, allocations: 12 kB / 1.405 GB, free: 5.68 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.5743, allocations: 370.8 kB / 1.405 GB, free: 5.309 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.5748, allocations: 213.1 kB / 1.405 GB, free: 5.102 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.5753, allocations: 349.4 kB / 1.405 GB, free: 4.707 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.5759, allocations: 267.8 kB / 1.406 GB, free: 4.441 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.5759, allocations: 4 kB / 1.406 GB, free: 4.438 MB / 0.9011 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001278/0.5772, allocations: 0.6522 MB / 1.406 GB, free: 3.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003362/0.5775, allocations: 0.7343 MB / 1.407 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.5775, allocations: 7.984 kB / 1.407 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.5776, allocations: 4 kB / 1.407 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.578, allocations: 103.8 kB / 1.407 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.578, allocations: 4 kB / 1.407 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000563/0.5786, allocations: 127.5 kB / 1.407 GB, free: 2.734 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.67e-05/0.5787, allocations: 31.94 kB / 1.407 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.5787, allocations: 4 kB / 1.407 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009286/0.5796, allocations: 0.5184 MB / 1.408 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.5796, allocations: 4 kB / 1.408 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.5797, allocations: 4.219 kB / 1.408 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.58, allocations: 95.83 kB / 1.408 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.58, allocations: 4 kB / 1.408 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/0.5806, allocations: 103.6 kB / 1.408 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.5806, allocations: 27.98 kB / 1.408 GB, free: 1.938 MB / 0.9011 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.0004322/0.5811, allocations: 279.5 kB / 1.408 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.5812, allocations: 63.2 kB / 1.408 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.5814, allocations: 70.03 kB / 1.408 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.5814, allocations: 8 kB / 1.408 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5814, allocations: 0 / 1.408 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.5814, allocations: 4 kB / 1.408 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.5835, allocations: 1.255 MB / 1.41 GB, free: 196 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5835, allocations: 0 / 1.41 GB, free: 196 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/0.5839, allocations: 95.94 kB / 1.41 GB, free: 100 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.5839, allocations: 7.938 kB / 1.41 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.5839, allocations: 8 kB / 1.41 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.584, allocations: 7.984 kB / 1.41 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.584, allocations: 0 / 1.41 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.5855, allocations: 0.8816 MB / 1.411 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.5857, allocations: 144.3 kB / 1.411 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.881e-05/0.5857, allocations: 12 kB / 1.411 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.5861, allocations: 43.97 kB / 1.411 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.5862, allocations: 44.33 kB / 1.411 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.5862, allocations: 19.98 kB / 1.411 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004752/0.5867, allocations: 346.9 kB / 1.411 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5867, allocations: 0 / 1.411 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000908/0.5876, allocations: 279.1 kB / 1.411 GB, free: 14.27 MB / 0.9167 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.002314/0.59, allocations: 1.633 MB / 1.413 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.5921, allocations: 0.9535 MB / 1.414 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.5921, allocations: 192 / 1.414 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005424/0.5926, allocations: 246.4 kB / 1.414 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.5935, allocations: 98.38 kB / 1.414 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.5973, allocations: 2.805 MB / 1.417 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/0.5979, allocations: 0.9224 MB / 1.418 GB, free: 7.43 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003657/0.5983, allocations: 80.73 kB / 1.418 GB, free: 7.352 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.5986, allocations: 247.3 kB / 1.418 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of SimCode: time 1.172e-06/0.5986, allocations: 0 / 1.418 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5558/1.154, allocations: 12.35 MB / 1.43 GB, free: 183.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/1.155, allocations: 205.7 kB / 1.431 GB, free: 183 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/3.523, allocations: 8.844 kB / 1.431 GB, free: 183 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling_fmu --startTime=0 --stopTime=2.4192e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_Validation_OptimalStartNoHeatingNoCooling.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)