Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.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.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",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.333/2.333, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001126/0.001126, allocations: 180.3 kB / 498.1 MB, free: 5.727 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.732/1.732, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.001094/0.001094, allocations: 104.2 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003644, allocations: 11.16 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2905, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.4802, allocations: 154.8 MB / 1.374 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/0.4806, allocations: 87.94 kB / 1.374 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06018/0.5408, allocations: 22.75 MB / 1.396 GB, free: 272 kB / 0.8855 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5408, allocations: 0 / 1.396 GB, free: 272 kB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001464/0.541, allocations: 40 kB / 1.396 GB, free: 232 kB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.004551/0.5455, allocations: 1.819 MB / 1.398 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.5456, allocations: 15.97 kB / 1.398 GB, free: 14.33 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004683/0.5461, allocations: 210.8 kB / 1.398 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000524/0.5466, allocations: 205.5 kB / 1.399 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.5491, allocations: 1.121 MB / 1.4 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.934e-05/0.5492, allocations: 114.8 kB / 1.4 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.5494, allocations: 151.9 kB / 1.4 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/0.5524, allocations: 1.39 MB / 1.401 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.5524, allocations: 0 / 1.401 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.5526, allocations: 60 kB / 1.401 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.5527, allocations: 36 kB / 1.401 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/0.555, allocations: 1.097 MB / 1.403 GB, free: 9.84 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007922/0.563, allocations: 4.519 MB / 1.407 GB, free: 5.242 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.565, allocations: 0.9465 MB / 1.408 GB, free: 4.262 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.984e-05/0.5651, allocations: 11.98 kB / 1.408 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/0.5662, allocations: 0.5444 MB / 1.408 GB, free: 3.676 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=87): time 3.627e-06/0.5662, allocations: 3.938 kB / 1.408 GB, free: 3.672 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87): time 0.002653/0.5689, allocations: 1.167 MB / 1.41 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.569, allocations: 247.3 kB / 1.41 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/0.5707, allocations: 1.054 MB / 1.411 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001549/0.5708, allocations: 61.7 kB / 1.411 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000632/0.5715, allocations: 0.7273 MB / 1.412 GB, free: 356 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.5717, allocations: 280.1 kB / 1.412 GB, free: 72 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.5718, allocations: 20 kB / 1.412 GB, free: 52 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5719, allocations: 349.9 kB / 1.412 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008719/0.5728, allocations: 410.4 kB / 1.413 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.5739, allocations: 0.75 MB / 1.413 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009262/0.5749, allocations: 482.4 kB / 1.414 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.5749, allocations: 4 kB / 1.414 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002396/0.5773, allocations: 1.294 MB / 1.415 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001275/0.5786, allocations: 2.884 MB / 1.418 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.5786, allocations: 8 kB / 1.418 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.405e-05/0.5786, allocations: 16 kB / 1.418 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008628/0.5795, allocations: 227.6 kB / 1.418 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.579e-05/0.5795, allocations: 23.91 kB / 1.418 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.5807, allocations: 234.5 kB / 1.418 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/0.5808, allocations: 47.98 kB / 1.418 GB, free: 9.023 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.5809, allocations: 4 kB / 1.418 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00169/0.5825, allocations: 1.018 MB / 1.419 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.5826, allocations: 8.062 kB / 1.419 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.5826, allocations: 16 kB / 1.419 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006871/0.5833, allocations: 199.7 kB / 1.42 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.436e-05/0.5833, allocations: 19.88 kB / 1.42 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008865/0.5842, allocations: 190.8 kB / 1.42 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/0.5843, allocations: 51.98 kB / 1.42 GB, free: 7.52 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,$whenCondition6,cooVal.limPI.trigger,$PRE.cooVal.TOutThr.y,cooVal.TOutThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.uFanFeeThr.y,$PRE.cooVal.cha.u,cooVal.cha.u,$PRE.uSupFan.y,uSupFan.y,$whenCondition3,cooVal3.limPI.trigger,$PRE.cooVal3.TOutThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.uFanFeeThr.y,$PRE.cooVal3.cha.u,cooVal3.cha.u,$whenCondition2,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u,$whenCondition1,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0007993/0.5851, allocations: 412.8 kB / 1.42 GB, free: 7.105 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.5853, allocations: 142.2 kB / 1.42 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.5872, allocations: 0.9335 MB / 1.421 GB, free: 6.02 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.5873, allocations: 12 kB / 1.421 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.5873, allocations: 0 / 1.421 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.5873, allocations: 11.88 kB / 1.421 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003646/0.5909, allocations: 2.541 MB / 1.424 GB, free: 3.367 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.591, allocations: 4 kB / 1.424 GB, free: 3.363 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/0.5916, allocations: 168 kB / 1.424 GB, free: 3.199 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.5916, allocations: 8 kB / 1.424 GB, free: 3.191 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/0.5917, allocations: 23.98 kB / 1.424 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.5917, allocations: 8 kB / 1.424 GB, free: 3.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5917, allocations: 0 / 1.424 GB, free: 3.16 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.5944, allocations: 1.851 MB / 1.426 GB, free: 1.176 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.5947, allocations: 227.2 kB / 1.426 GB, free: 0.9336 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.5949, allocations: 32 kB / 1.426 GB, free: 0.9023 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007082/0.5956, allocations: 83.92 kB / 1.426 GB, free: 0.8203 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.5958, allocations: 91.78 kB / 1.426 GB, free: 0.7305 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/0.5959, allocations: 39.94 kB / 1.426 GB, free: 0.6914 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.592/1.188, allocations: 0.7904 MB / 1.427 GB, free: 183 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.092e-06/1.188, allocations: 0 / 1.427 GB, free: 183 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002306/1.19, allocations: 481 kB / 1.427 GB, free: 183 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (cooVal2.limPI.I.y,cooVal1.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 23 (cooVal2.limPI.trigger,$whenCondition1,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.cha.u,cooVal1.limPI.trigger,$whenCondition2,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal3.limPI.trigger,$whenCondition3,cooVal3.TOutThr.y,cooVal3.uFanFeeThr.y,cooVal3.cha.u,cooVal.limPI.trigger,$whenCondition6,$whenCondition4,$whenCondition5,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.y) * Number of discrete states: 12 (cooVal.uFanFeeThr.y,cooVal.TOutThr.y,cooVal.cha.u,cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,cooVal3.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.003606/1.194, allocations: 3.187 MB / 1.431 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004677/1.199, allocations: 1.607 MB / 1.432 GB, free: 181 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/1.199, allocations: 0 / 1.432 GB, free: 181 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/1.2, allocations: 433.9 kB / 1.433 GB, free: 181 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/1.202, allocations: 244.9 kB / 1.433 GB, free: 181 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008939/1.211, allocations: 8.463 MB / 1.441 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/1.212, allocations: 1.214 MB / 1.442 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001309/1.214, allocations: 213.3 kB / 1.442 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009397/1.215, allocations: 0.6087 MB / 1.443 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of SimCode: time 1.854e-06/1.215, allocations: 0 / 1.443 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06603/1.281, allocations: 25.02 MB / 1.467 GB, free: 172 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/1.281, allocations: 211.2 kB / 1.468 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/4.351, allocations: 4 kB / 1.468 GB, free: 171.8 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat does not exist to compare? outputFormat=mat