Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.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.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.364/2.364, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001762/0.001762, allocations: 179.9 kB / 0.4901 GB, free: 2.234 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.583/1.583, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.0009975/0.0009979, allocations: 99.27 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004277, allocations: 10.81 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2789, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/0.4768, allocations: 155.6 MB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/0.4772, allocations: 91.92 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05851/0.5357, allocations: 22.79 MB / 1.404 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.555e-06/0.5357, allocations: 0 / 1.404 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.829e-05/0.5358, allocations: 35.98 kB / 1.404 GB, free: 6.934 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: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.003566/0.5394, allocations: 1.828 MB / 1.405 GB, free: 5.043 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.5395, allocations: 12.03 kB / 1.405 GB, free: 5.031 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002712/0.5397, allocations: 206.8 kB / 1.406 GB, free: 4.82 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.5401, allocations: 201.6 kB / 1.406 GB, free: 4.621 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.5422, allocations: 1.133 MB / 1.407 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.803e-05/0.5423, allocations: 114.8 kB / 1.407 GB, free: 3.316 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.5425, allocations: 147.9 kB / 1.407 GB, free: 3.172 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.545, allocations: 1.39 MB / 1.408 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.545, allocations: 3.984 kB / 1.408 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.5452, allocations: 56 kB / 1.409 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.5452, allocations: 36 kB / 1.409 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.5474, allocations: 1.089 MB / 1.41 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007763/0.5552, allocations: 4.527 MB / 1.414 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.5572, allocations: 0.9252 MB / 1.415 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.79e-05/0.5573, allocations: 15.98 kB / 1.415 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.5584, allocations: 0.5404 MB / 1.415 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=87): time 4.598e-06/0.5584, allocations: 0 / 1.415 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=87): time 0.002825/0.5613, allocations: 1.168 MB / 1.417 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.5614, allocations: 247.3 kB / 1.417 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.5634, allocations: 1.054 MB / 1.418 GB, free: 7.867 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001725/0.5636, allocations: 61.69 kB / 1.418 GB, free: 7.801 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007642/0.5643, allocations: 0.7312 MB / 1.419 GB, free: 7.062 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.5646, allocations: 272.2 kB / 1.419 GB, free: 6.793 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.008e-05/0.5647, allocations: 20 kB / 1.419 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.5649, allocations: 353.9 kB / 1.419 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009632/0.5659, allocations: 414.3 kB / 1.42 GB, free: 6.016 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.5672, allocations: 0.7489 MB / 1.42 GB, free: 5.121 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.5682, allocations: 489.4 kB / 1.421 GB, free: 4.641 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-05/0.5682, allocations: 4 kB / 1.421 GB, free: 4.637 MB / 0.9167 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002718/0.571, allocations: 1.28 MB / 1.422 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001306/0.5723, allocations: 2.893 MB / 1.425 GB, free: 296 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.5723, allocations: 11.98 kB / 1.425 GB, free: 284 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-05/0.5724, allocations: 12 kB / 1.425 GB, free: 272 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008754/0.5732, allocations: 239.6 kB / 1.425 GB, free: 32 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-05/0.5733, allocations: 19.92 kB / 1.425 GB, free: 12 kB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6112/1.184, allocations: 226.5 kB / 1.425 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/1.185, allocations: 52.14 kB / 1.425 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.185, allocations: 4.188 kB / 1.426 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001829/1.186, allocations: 1.004 MB / 1.426 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.186, allocations: 10.09 kB / 1.426 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/1.187, allocations: 13.94 kB / 1.427 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006961/1.187, allocations: 206.4 kB / 1.427 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/1.187, allocations: 14.97 kB / 1.427 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009931/1.188, allocations: 189.8 kB / 1.427 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/1.188, allocations: 45.14 kB / 1.427 GB, free: 175.4 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.0007691/1.189, allocations: 427.7 kB / 1.427 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/1.189, allocations: 151.4 kB / 1.427 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/1.191, allocations: 0.9232 MB / 1.428 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/1.191, allocations: 11.34 kB / 1.428 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.191, allocations: 0.5625 kB / 1.428 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/1.191, allocations: 9.969 kB / 1.428 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/1.195, allocations: 2.528 MB / 1.431 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.195, allocations: 5.531 kB / 1.431 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006866/1.195, allocations: 162.7 kB / 1.431 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/1.195, allocations: 6.75 kB / 1.431 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/1.196, allocations: 24.27 kB / 1.431 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/1.196, allocations: 11.39 kB / 1.431 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.196, allocations: 5.719 kB / 1.431 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/1.198, allocations: 1.848 MB / 1.433 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/1.199, allocations: 226 kB / 1.433 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/1.199, allocations: 31.58 kB / 1.433 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007698/1.199, allocations: 88.16 kB / 1.433 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/1.2, allocations: 94.44 kB / 1.433 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/1.2, allocations: 35.45 kB / 1.433 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001153/1.201, allocations: 0.798 MB / 1.434 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/1.201, allocations: 0 / 1.434 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001654/1.203, allocations: 480.3 kB / 1.435 GB, free: 173.5 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.003162/1.206, allocations: 3.185 MB / 1.438 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003459/1.209, allocations: 1.614 MB / 1.439 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/1.209, allocations: 1.438 kB / 1.439 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00094/1.21, allocations: 431.1 kB / 1.44 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001543/1.212, allocations: 252 kB / 1.44 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00691/1.219, allocations: 8.46 MB / 1.448 GB, free: 164.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009359/1.22, allocations: 1.211 MB / 1.449 GB, free: 163.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0013/1.221, allocations: 215.4 kB / 1.45 GB, free: 163.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000759/1.222, allocations: 0.6095 MB / 1.45 GB, free: 163.7 MB / 0.9167 GB Notification: Performance of SimCode: time 1.052e-06/1.222, allocations: 0 / 1.45 GB, free: 163.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05103/1.273, allocations: 25.04 MB / 1.475 GB, free: 161.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/1.273, allocations: 219.3 kB / 1.475 GB, free: 161.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/4.079, allocations: 4 kB / 1.475 GB, free: 161.1 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat does not exist to compare? outputFormat=mat