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.217/2.217, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001313/0.001313, allocations: 184.9 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.00092/0.0009201, allocations: 87.95 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.806e-05/4.84e-05, allocations: 6.969 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3196, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.34, allocations: 159.1 MB / 1.374 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/1.34, allocations: 68.09 kB / 1.374 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03286/1.373, allocations: 12.17 MB / 1.386 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.482e-06/1.373, allocations: 0 / 1.386 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.401e-05/1.373, allocations: 16 kB / 1.386 GB, free: 0.793 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.001519/1.375, allocations: 0.9027 MB / 1.387 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.375, allocations: 12.03 kB / 1.387 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/1.375, allocations: 100.6 kB / 1.387 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/1.375, allocations: 103.2 kB / 1.387 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007721/1.376, allocations: 470.7 kB / 1.388 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/1.376, allocations: 51.06 kB / 1.388 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/1.376, allocations: 70.28 kB / 1.388 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000878/1.377, allocations: 0.5652 MB / 1.388 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/1.377, allocations: 3.938 kB / 1.388 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.201e-05/1.377, allocations: 32.73 kB / 1.388 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/1.377, allocations: 12 kB / 1.388 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006332/1.378, allocations: 383.1 kB / 1.389 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002783/1.38, allocations: 2.061 MB / 1.391 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/1.382, allocations: 0.8429 MB / 1.392 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/1.383, allocations: 233.8 kB / 1.392 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/1.383, allocations: 4.438 kB / 1.392 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004064/1.383, allocations: 259.9 kB / 1.392 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=57): time 2.595e-06/1.383, allocations: 0 / 1.392 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=57): time 0.0007382/1.384, allocations: 436.9 kB / 1.392 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/1.384, allocations: 115.3 kB / 1.393 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004881/1.384, allocations: 453.2 kB / 1.393 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/1.384, allocations: 44.2 kB / 1.393 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/1.385, allocations: 319 kB / 1.393 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/1.385, allocations: 182.6 kB / 1.394 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/1.385, allocations: 13 kB / 1.394 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.385, allocations: 369.2 kB / 1.394 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/1.385, allocations: 170.3 kB / 1.394 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/1.386, allocations: 314.7 kB / 1.394 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/1.386, allocations: 230.7 kB / 1.395 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.386, allocations: 0 / 1.395 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008766/1.387, allocations: 0.5783 MB / 1.395 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003167/1.387, allocations: 0.7361 MB / 1.396 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/1.387, allocations: 4 kB / 1.396 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/1.387, allocations: 11.98 kB / 1.396 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/1.388, allocations: 95.45 kB / 1.396 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/1.388, allocations: 7.938 kB / 1.396 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/1.388, allocations: 123 kB / 1.396 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/1.388, allocations: 27.17 kB / 1.396 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/1.388, allocations: 4 kB / 1.396 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000769/1.389, allocations: 0.5005 MB / 1.397 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.389, allocations: 4 kB / 1.397 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.872e-06/1.389, allocations: 4 kB / 1.397 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/1.389, allocations: 91.14 kB / 1.397 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.389, allocations: 12.02 kB / 1.397 GB, free: 7.617 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/1.39, allocations: 114.1 kB / 1.397 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/1.39, allocations: 27.92 kB / 1.397 GB, free: 7.492 MB / 0.8542 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.0001418/1.39, allocations: 148.5 kB / 1.397 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.432e-05/1.39, allocations: 63.2 kB / 1.397 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/1.39, allocations: 70.16 kB / 1.397 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.39, allocations: 4 kB / 1.397 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.39, allocations: 0 / 1.397 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/1.39, allocations: 7.984 kB / 1.397 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/1.392, allocations: 1.183 MB / 1.398 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/1.392, allocations: 0 / 1.398 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/1.392, allocations: 91.14 kB / 1.398 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/1.392, allocations: 4 kB / 1.398 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/1.392, allocations: 14.61 kB / 1.398 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.392, allocations: 4 kB / 1.398 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.392, allocations: 0 / 1.398 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009956/1.393, allocations: 0.7728 MB / 1.399 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/1.394, allocations: 140 kB / 1.399 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/1.394, allocations: 10.44 kB / 1.399 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/1.394, allocations: 45.91 kB / 1.399 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.741e-05/1.394, allocations: 52.28 kB / 1.399 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/1.394, allocations: 19.92 kB / 1.399 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003691/1.394, allocations: 343.3 kB / 1.4 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/1.395, allocations: 0 / 1.4 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008083/1.395, allocations: 278.6 kB / 1.4 GB, free: 4.844 MB / 0.8542 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.001561/1.397, allocations: 1.533 MB / 1.402 GB, free: 3.48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001296/1.398, allocations: 0.8903 MB / 1.402 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.398, allocations: 0 / 1.402 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/1.399, allocations: 206.2 kB / 1.403 GB, free: 2.633 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/1.399, allocations: 102 kB / 1.403 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/1.401, allocations: 0.9436 MB / 1.404 GB, free: 1.699 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006641/1.402, allocations: 0.9158 MB / 1.405 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004261/1.402, allocations: 114.7 kB / 1.405 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/1.402, allocations: 239.9 kB / 1.405 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of SimCode: time 4.01e-07/1.402, allocations: 0 / 1.405 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/1.434, allocations: 13.39 MB / 1.418 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/1.434, allocations: 184.4 kB / 1.418 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.891, allocations: 1.562 kB / 1.418 GB, free: 3.246 MB / 0.8698 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)