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.004/2.004, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001213/0.001213, allocations: 176.9 kB / 496.1 MB, free: 12.88 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.266/1.266, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0008496/0.0008499, allocations: 99.88 kB / 0.9318 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.765e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2209, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7542/0.9751, allocations: 155.5 MB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.9753, allocations: 86.09 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.05373/1.029, allocations: 22.74 MB / 1.393 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.092e-06/1.029, allocations: 0 / 1.393 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001073/1.029, allocations: 36 kB / 1.393 GB, free: 11.18 MB / 0.8542 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.003008/1.032, allocations: 1.577 MB / 1.395 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/1.032, allocations: 15.97 kB / 1.395 GB, free: 9.633 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003472/1.033, allocations: 203.7 kB / 1.395 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004214/1.033, allocations: 201.6 kB / 1.395 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/1.035, allocations: 1.12 MB / 1.396 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.288e-05/1.035, allocations: 114.2 kB / 1.396 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/1.036, allocations: 152.4 kB / 1.396 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/1.038, allocations: 1.279 MB / 1.398 GB, free: 7.324 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/1.038, allocations: 3.938 kB / 1.398 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/1.038, allocations: 59.81 kB / 1.398 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/1.038, allocations: 39.98 kB / 1.398 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/1.04, allocations: 0.891 MB / 1.399 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006994/1.047, allocations: 4.524 MB / 1.403 GB, free: 3.34 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/1.048, allocations: 0.7422 MB / 1.404 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/1.048, allocations: 369.1 kB / 1.404 GB, free: 2.582 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.609e-05/1.048, allocations: 16 kB / 1.404 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006939/1.049, allocations: 456.2 kB / 1.404 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=87): time 2.665e-06/1.049, allocations: 0 / 1.404 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of matching and sorting (n=87): time 0.001112/1.05, allocations: 0.6894 MB / 1.405 GB, free: 1.707 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.05, allocations: 251.2 kB / 1.405 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/1.052, allocations: 1.052 MB / 1.406 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/1.052, allocations: 57.33 kB / 1.406 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000464/1.052, allocations: 0.7295 MB / 1.407 GB, free: 140 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/1.052, allocations: 272.2 kB / 1.407 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.594e-05/1.052, allocations: 24.81 kB / 1.407 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.053, allocations: 348.4 kB / 1.408 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004904/1.053, allocations: 308.2 kB / 1.408 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006898/1.054, allocations: 0.6609 MB / 1.409 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005657/1.054, allocations: 407.5 kB / 1.409 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.054, allocations: 0 / 1.409 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001541/1.056, allocations: 1.085 MB / 1.41 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008475/1.057, allocations: 2.888 MB / 1.413 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/1.057, allocations: 4 kB / 1.413 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/1.057, allocations: 16 kB / 1.413 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008051/1.058, allocations: 233.3 kB / 1.413 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/1.058, allocations: 19.94 kB / 1.413 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009587/1.059, allocations: 226.5 kB / 1.414 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.855e-05/1.059, allocations: 50.86 kB / 1.414 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/1.059, allocations: 8 kB / 1.414 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001303/1.06, allocations: 0.9268 MB / 1.414 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.06, allocations: 8 kB / 1.414 GB, free: 9.469 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/1.06, allocations: 12 kB / 1.414 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/1.061, allocations: 202.6 kB / 1.415 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/1.061, allocations: 27.81 kB / 1.415 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00082/1.062, allocations: 195 kB / 1.415 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.632e-05/1.062, allocations: 45.25 kB / 1.415 GB, free: 9.031 MB / 0.8698 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.0002397/1.062, allocations: 188.4 kB / 1.415 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/1.062, allocations: 146.2 kB / 1.415 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/1.063, allocations: 0.7569 MB / 1.416 GB, free: 8.117 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/1.063, allocations: 12 kB / 1.416 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.063, allocations: 7.891 kB / 1.416 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/1.063, allocations: 3.984 kB / 1.416 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/1.066, allocations: 2.36 MB / 1.418 GB, free: 5.648 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.066, allocations: 4.25 kB / 1.418 GB, free: 5.645 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006292/1.067, allocations: 167.7 kB / 1.418 GB, free: 5.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/1.067, allocations: 8 kB / 1.418 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.148e-05/1.067, allocations: 27.97 kB / 1.419 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/1.067, allocations: 8 kB / 1.419 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.067, allocations: 4 kB / 1.419 GB, free: 5.434 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/1.069, allocations: 1.581 MB / 1.42 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/1.069, allocations: 231.3 kB / 1.42 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/1.069, allocations: 24 kB / 1.42 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000684/1.07, allocations: 87.92 kB / 1.42 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/1.07, allocations: 99.73 kB / 1.42 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/1.07, allocations: 31.98 kB / 1.421 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009732/1.071, allocations: 0.776 MB / 1.421 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.071, allocations: 0 / 1.421 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001331/1.073, allocations: 486.5 kB / 1.422 GB, free: 1.984 MB / 0.8698 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.002255/1.075, allocations: 2.921 MB / 1.425 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002175/1.077, allocations: 1.441 MB / 1.426 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.077, allocations: 64 / 1.426 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005239/1.078, allocations: 347.9 kB / 1.426 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/1.079, allocations: 246.7 kB / 1.427 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/1.083, allocations: 1.987 MB / 1.429 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000739/1.083, allocations: 1.216 MB / 1.43 GB, free: 9.605 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001244/1.085, allocations: 271 kB / 1.43 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006804/1.085, allocations: 0.593 MB / 1.431 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of SimCode: time 8.22e-07/1.085, allocations: 0 / 1.431 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04758/1.133, allocations: 27.39 MB / 1.457 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/1.133, allocations: 191.7 kB / 1.457 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.725, allocations: 10.08 kB / 1.457 GB, free: 13.47 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