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 1.964/1.964, allocations: 387.1 MB / 399.7 MB, free: 9.527 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.00104/0.00104, allocations: 175.7 kB / 492.3 MB, free: 0.6328 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.244/1.244, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0008262/0.0008262, allocations: 83.92 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.562e-05/2.564e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1984, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7127/0.9112, allocations: 154.7 MB / 1.364 GB, free: 18.85 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.9114, allocations: 87.48 kB / 1.364 GB, free: 18.85 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04779/0.9592, allocations: 22.72 MB / 1.386 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9593, allocations: 0 / 1.386 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.989e-05/0.9593, allocations: 37.84 kB / 1.386 GB, free: 29.49 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.001958/0.9613, allocations: 1.58 MB / 1.387 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.9614, allocations: 7.594 kB / 1.387 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.9615, allocations: 199 kB / 1.388 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.9617, allocations: 201.2 kB / 1.388 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.9633, allocations: 1.13 MB / 1.389 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.785e-05/0.9634, allocations: 108.3 kB / 1.389 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.9635, allocations: 151.5 kB / 1.389 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.9652, allocations: 1.283 MB / 1.39 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.9652, allocations: 3.938 kB / 1.39 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.159e-05/0.9653, allocations: 60.59 kB / 1.39 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.9653, allocations: 30.97 kB / 1.391 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.9665, allocations: 0.8964 MB / 1.391 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004902/0.9714, allocations: 4.519 MB / 1.396 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009583/0.9724, allocations: 0.7472 MB / 1.397 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/0.9728, allocations: 369.4 kB / 1.397 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.486e-05/0.9728, allocations: 19.05 kB / 1.397 GB, free: 25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005236/0.9734, allocations: 445.3 kB / 1.397 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=87): time 2.555e-06/0.9734, allocations: 7.938 kB / 1.397 GB, free: 24.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87): time 0.0008749/0.9743, allocations: 0.6875 MB / 1.398 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.9743, allocations: 250.3 kB / 1.398 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000927/0.9753, allocations: 1.047 MB / 1.399 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.545e-05/0.9753, allocations: 55.42 kB / 1.399 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003689/0.9757, allocations: 0.7351 MB / 1.4 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.9759, allocations: 273.9 kB / 1.4 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.9759, allocations: 25.91 kB / 1.4 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.976, allocations: 351.1 kB / 1.401 GB, free: 23.24 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004216/0.9764, allocations: 313.9 kB / 1.401 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/0.977, allocations: 0.6639 MB / 1.402 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.9774, allocations: 396.3 kB / 1.402 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.9774, allocations: 0 / 1.402 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001259/0.9787, allocations: 1.098 MB / 1.403 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005963/0.9793, allocations: 2.885 MB / 1.406 GB, free: 19.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.9793, allocations: 7.844 kB / 1.406 GB, free: 19.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.9794, allocations: 11.47 kB / 1.406 GB, free: 19.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.9801, allocations: 234.3 kB / 1.406 GB, free: 19.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.9801, allocations: 19.39 kB / 1.406 GB, free: 19.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008291/0.9809, allocations: 236.5 kB / 1.406 GB, free: 19.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.145e-05/0.981, allocations: 48.73 kB / 1.406 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.043e-06/0.981, allocations: 5.094 kB / 1.406 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001077/0.9821, allocations: 0.9258 MB / 1.407 GB, free: 18.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.9821, allocations: 8 kB / 1.407 GB, free: 18.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.9821, allocations: 16 kB / 1.407 GB, free: 18.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005854/0.9827, allocations: 202.8 kB / 1.408 GB, free: 18.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.9828, allocations: 19.94 kB / 1.408 GB, free: 18.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/0.9835, allocations: 188.8 kB / 1.408 GB, free: 18.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.9835, allocations: 51 kB / 1.408 GB, free: 18.14 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.0001847/0.9837, allocations: 198 kB / 1.408 GB, free: 17.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.9838, allocations: 142.2 kB / 1.408 GB, free: 17.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.9849, allocations: 0.7549 MB / 1.409 GB, free: 17.32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.9849, allocations: 8 kB / 1.409 GB, free: 17.31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9849, allocations: 0 / 1.409 GB, free: 17.31 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.9849, allocations: 7.984 kB / 1.409 GB, free: 17.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.9872, allocations: 2.361 MB / 1.411 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.9872, allocations: 11.92 kB / 1.411 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005466/0.9877, allocations: 155.5 kB / 1.411 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.9878, allocations: 8.188 kB / 1.411 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/0.9878, allocations: 22.98 kB / 1.411 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.9878, allocations: 8 kB / 1.411 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.9878, allocations: 11.88 kB / 1.411 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.9891, allocations: 1.576 MB / 1.413 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.9893, allocations: 237.8 kB / 1.413 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.9894, allocations: 31.44 kB / 1.413 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.9901, allocations: 87.11 kB / 1.413 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.9902, allocations: 83.23 kB / 1.413 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.9903, allocations: 35.78 kB / 1.413 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007332/0.991, allocations: 0.778 MB / 1.414 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/0.991, allocations: 0 / 1.414 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001178/0.9922, allocations: 484.7 kB / 1.415 GB, free: 12.59 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.002107/0.9943, allocations: 2.932 MB / 1.417 GB, free: 9.934 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001919/0.9963, allocations: 1.44 MB / 1.419 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.9963, allocations: 4 kB / 1.419 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.9967, allocations: 332.7 kB / 1.419 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.9978, allocations: 243.7 kB / 1.419 GB, free: 8.488 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/1.001, allocations: 1.995 MB / 1.421 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/1.002, allocations: 1.216 MB / 1.423 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001165/1.003, allocations: 267.1 kB / 1.423 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005594/1.003, allocations: 0.593 MB / 1.423 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of SimCode: time 8.11e-07/1.004, allocations: 0 / 1.423 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/1.046, allocations: 27.39 MB / 1.45 GB, free: 10 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/1.047, allocations: 175.1 kB / 1.45 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.599, allocations: 1.969 kB / 1.45 GB, free: 9.785 MB / 0.8698 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