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 1.999/1.999, allocations: 390.5 MB / 398 MB, free: 10.94 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.0009437/0.0009437, allocations: 180.8 kB / 491.2 MB, free: 1.551 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.256/1.256, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0008083/0.0008083, allocations: 111.5 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.276e-05/1.277e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2036, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7148/0.9184, allocations: 154.8 MB / 1.364 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.9188, allocations: 81.61 kB / 1.364 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04889/0.9677, allocations: 22.55 MB / 1.386 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9677, allocations: 0 / 1.386 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000144/0.9679, allocations: 41.73 kB / 1.386 GB, free: 28.21 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: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.003569/0.9715, allocations: 1.569 MB / 1.387 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.9715, allocations: 11.81 kB / 1.387 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006302/0.9722, allocations: 194.4 kB / 1.387 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.9744, allocations: 1.14 MB / 1.389 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.696e-05/0.9745, allocations: 42.41 kB / 1.389 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002718/0.9748, allocations: 90.69 kB / 1.389 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001601/0.9764, allocations: 0.8209 MB / 1.39 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.9782, allocations: 1.084 MB / 1.391 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.9783, allocations: 0 / 1.391 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-05/0.9784, allocations: 0 / 1.391 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.9784, allocations: 34.28 kB / 1.391 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005576/0.984, allocations: 4.209 MB / 1.395 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009247/0.9849, allocations: 0.706 MB / 1.395 GB, free: 24 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.9853, allocations: 336.6 kB / 1.396 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.436e-05/0.9854, allocations: 23.17 kB / 1.396 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005553/0.9859, allocations: 435.6 kB / 1.396 GB, free: 23.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=87): time 3.226e-06/0.9859, allocations: 0 / 1.396 GB, free: 23.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87): time 0.0009029/0.9868, allocations: 0.6193 MB / 1.397 GB, free: 23.63 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.9869, allocations: 258.7 kB / 1.397 GB, free: 23.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000801/0.9877, allocations: 0.7413 MB / 1.398 GB, free: 23.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.652e-05/0.9878, allocations: 49.03 kB / 1.398 GB, free: 23.08 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.9882, allocations: 0.7375 MB / 1.399 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.9884, allocations: 272.8 kB / 1.399 GB, free: 22.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.9885, allocations: 0 / 1.399 GB, free: 22.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.9886, allocations: 349.1 kB / 1.399 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/0.989, allocations: 292 kB / 1.399 GB, free: 22.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.9895, allocations: 0.6277 MB / 1.4 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005737/0.9901, allocations: 348.4 kB / 1.4 GB, free: 21.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.9901, allocations: 3.844 kB / 1.4 GB, free: 21.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001336/0.9915, allocations: 0.9524 MB / 1.401 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008411/0.9923, allocations: 2.831 MB / 1.404 GB, free: 18.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.9923, allocations: 7.531 kB / 1.404 GB, free: 18.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/0.9924, allocations: 11.47 kB / 1.404 GB, free: 18.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007525/0.9931, allocations: 234.3 kB / 1.404 GB, free: 18.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/0.9932, allocations: 23.11 kB / 1.404 GB, free: 18.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008571/0.994, allocations: 175.2 kB / 1.404 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.741e-05/0.9941, allocations: 48.8 kB / 1.405 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/0.9942, allocations: 3.781 kB / 1.405 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001143/0.9953, allocations: 0.7791 MB / 1.405 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.9953, allocations: 7.719 kB / 1.405 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.9954, allocations: 19.34 kB / 1.405 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.996, allocations: 199 kB / 1.405 GB, free: 18.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.996, allocations: 19.34 kB / 1.406 GB, free: 18.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007282/0.9967, allocations: 132.9 kB / 1.406 GB, free: 18.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.449e-05/0.9968, allocations: 52.89 kB / 1.406 GB, free: 18.1 MB / 0.8386 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 () * 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.000226/0.997, allocations: 154.5 kB / 1.406 GB, free: 17.96 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008475/0.9979, allocations: 0.6095 MB / 1.406 GB, free: 17.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.998, allocations: 120.3 kB / 1.407 GB, free: 17.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009878/0.999, allocations: 0.6655 MB / 1.407 GB, free: 17.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.9991, allocations: 15.62 kB / 1.407 GB, free: 17.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.9991, allocations: 3.953 kB / 1.407 GB, free: 17.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.9991, allocations: 7.828 kB / 1.407 GB, free: 17.58 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/1.002, allocations: 2.118 MB / 1.409 GB, free: 16.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.002, allocations: 4 kB / 1.409 GB, free: 16.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/1.002, allocations: 155.7 kB / 1.409 GB, free: 16.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/1.002, allocations: 8 kB / 1.409 GB, free: 16.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/1.002, allocations: 11.42 kB / 1.409 GB, free: 16.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.463e-06/1.002, allocations: 11.98 kB / 1.409 GB, free: 16.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.002, allocations: 7.938 kB / 1.409 GB, free: 16.03 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/1.004, allocations: 1.47 MB / 1.411 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/1.004, allocations: 202.2 kB / 1.411 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/1.004, allocations: 19.62 kB / 1.411 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006369/1.004, allocations: 67.92 kB / 1.411 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/1.005, allocations: 98.53 kB / 1.411 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/1.005, allocations: 31.3 kB / 1.411 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005575/1.005, allocations: 0.5381 MB / 1.412 GB, free: 14 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.21e-07/1.005, allocations: 0 / 1.412 GB, free: 14 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001368/1.007, allocations: 461.1 kB / 1.412 GB, free: 13.55 MB / 0.8386 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) * 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.001867/1.009, allocations: 2.825 MB / 1.415 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001874/1.01, allocations: 1.328 MB / 1.416 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.01, allocations: 0 / 1.416 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004289/1.011, allocations: 323.2 kB / 1.417 GB, free: 9.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/1.012, allocations: 220.1 kB / 1.417 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/1.016, allocations: 1.878 MB / 1.419 GB, free: 7.895 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.017, allocations: 1.219 MB / 1.42 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001396/1.018, allocations: 233.4 kB / 1.42 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006958/1.019, allocations: 0.566 MB / 1.421 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of SimCode: time 8.52e-07/1.019, allocations: 4 kB / 1.421 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04777/1.067, allocations: 23.61 MB / 1.444 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.067, allocations: 173.5 kB / 1.444 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/3.417, allocations: 0 / 1.444 GB, free: 14.69 MB / 0.8698 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