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.312/2.312, allocations: 390.3 MB / 405.3 MB, free: 13.55 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.00157/0.00157, allocations: 181.1 kB / 498.1 MB, free: 5.785 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.524/1.524, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.0009961/0.000996, allocations: 97.73 kB / 0.9346 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.000355, allocations: 10.47 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2932, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1966/0.4898, allocations: 158.3 MB / 1.378 GB, free: 3.715 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4901, allocations: 71.97 kB / 1.378 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03469/0.5248, allocations: 12.2 MB / 1.39 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.789e-06/0.5249, allocations: 0 / 1.39 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.042e-05/0.525, allocations: 19.94 kB / 1.39 GB, free: 7.395 MB / 0.8855 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.002164/0.5271, allocations: 0.9995 MB / 1.391 GB, free: 6.332 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.5272, allocations: 8.031 kB / 1.391 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001907/0.5274, allocations: 106.5 kB / 1.391 GB, free: 6.211 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.5276, allocations: 91.27 kB / 1.391 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009238/0.5285, allocations: 477.9 kB / 1.391 GB, free: 5.613 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.603e-05/0.5286, allocations: 49.31 kB / 1.391 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.5287, allocations: 75.98 kB / 1.391 GB, free: 5.492 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.5299, allocations: 0.6114 MB / 1.392 GB, free: 4.855 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.5299, allocations: 0 / 1.392 GB, free: 4.855 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.509e-05/0.53, allocations: 24 kB / 1.392 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.53, allocations: 16 kB / 1.392 GB, free: 4.816 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009423/0.531, allocations: 460.9 kB / 1.392 GB, free: 4.367 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/0.5341, allocations: 2.06 MB / 1.394 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.5361, allocations: 0.9338 MB / 1.395 GB, free: 1.254 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.5361, allocations: 8.422 kB / 1.395 GB, free: 1.246 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005447/0.5367, allocations: 290.1 kB / 1.396 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 2.204e-06/0.5367, allocations: 4 kB / 1.396 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.001353/0.5381, allocations: 0.7375 MB / 1.396 GB, free: 196 kB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.5381, allocations: 119.4 kB / 1.396 GB, free: 52 kB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005544/0.5387, allocations: 446.2 kB / 1.397 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.937e-05/0.5388, allocations: 49.69 kB / 1.397 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.5391, allocations: 320.8 kB / 1.397 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.5392, allocations: 173.4 kB / 1.397 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.5393, allocations: 12 kB / 1.397 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5394, allocations: 378.8 kB / 1.398 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/0.5399, allocations: 205.1 kB / 1.398 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.5404, allocations: 357.1 kB / 1.398 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.5409, allocations: 259.8 kB / 1.399 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5409, allocations: 0 / 1.399 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001151/0.5421, allocations: 0.6522 MB / 1.399 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003125/0.5424, allocations: 0.7384 MB / 1.4 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.5424, allocations: 4 kB / 1.4 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.5424, allocations: 4 kB / 1.4 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.5429, allocations: 107.8 kB / 1.4 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.5429, allocations: 4 kB / 1.4 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.5434, allocations: 127.5 kB / 1.4 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/0.5435, allocations: 27.94 kB / 1.4 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.5435, allocations: 5.875 kB / 1.4 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009347/0.5445, allocations: 0.5223 MB / 1.401 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.5445, allocations: 4 kB / 1.401 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.575e-06/0.5445, allocations: 4 kB / 1.401 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.5448, allocations: 91.83 kB / 1.401 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.5448, allocations: 4 kB / 1.401 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.5453, allocations: 107.8 kB / 1.401 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.5454, allocations: 23.98 kB / 1.401 GB, free: 11.31 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.0003993/0.5458, allocations: 282.7 kB / 1.401 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.684e-05/0.5459, allocations: 63.2 kB / 1.401 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.5461, allocations: 66.03 kB / 1.401 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.5461, allocations: 11.94 kB / 1.401 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.5461, allocations: 0 / 1.401 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.5461, allocations: 3.984 kB / 1.401 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.5481, allocations: 1.263 MB / 1.403 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5481, allocations: 4 kB / 1.403 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.5485, allocations: 83.89 kB / 1.403 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.5485, allocations: 4.094 kB / 1.403 GB, free: 9.461 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.5486, allocations: 19.92 kB / 1.403 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.5486, allocations: 0 / 1.403 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.5486, allocations: 8.062 kB / 1.403 GB, free: 9.434 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.5501, allocations: 0.8776 MB / 1.404 GB, free: 8.52 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.5502, allocations: 144.3 kB / 1.404 GB, free: 8.359 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.5503, allocations: 15.98 kB / 1.404 GB, free: 8.344 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.5506, allocations: 39.97 kB / 1.404 GB, free: 8.305 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.666e-05/0.5507, allocations: 44.33 kB / 1.404 GB, free: 8.262 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.5508, allocations: 16 kB / 1.404 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004573/0.5512, allocations: 358.8 kB / 1.404 GB, free: 7.898 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2e-07/0.5512, allocations: 0 / 1.404 GB, free: 7.898 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008238/0.5521, allocations: 267.2 kB / 1.404 GB, free: 7.637 MB / 0.9011 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.002064/0.5541, allocations: 1.633 MB / 1.406 GB, free: 5.969 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.5558, allocations: 0.9531 MB / 1.407 GB, free: 4.977 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.5558, allocations: 0 / 1.407 GB, free: 4.977 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.5563, allocations: 247.3 kB / 1.407 GB, free: 4.738 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.5569, allocations: 106.2 kB / 1.407 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.5604, allocations: 2.809 MB / 1.41 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.5609, allocations: 0.9146 MB / 1.411 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003436/0.5613, allocations: 88.67 kB / 1.411 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/0.5617, allocations: 247.3 kB / 1.411 GB, free: 476 kB / 0.9011 GB Notification: Performance of SimCode: time 4.81e-07/0.5617, allocations: 0 / 1.411 GB, free: 476 kB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.5956, allocations: 12.34 MB / 1.423 GB, free: 4.383 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/0.5959, allocations: 204.9 kB / 1.423 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/2.922, allocations: 0.7812 kB / 1.423 GB, free: 4.141 MB / 0.9167 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)