Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.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: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.401/2.401, 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.001373/0.001373, allocations: 175.5 kB / 498.1 MB, free: 5.742 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.674/1.674, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.001381/0.001382, allocations: 98.56 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004213, allocations: 14.44 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3293, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.054/5.383, allocations: 1.87 GB / 3.093 GB, free: 116.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004098/5.384, allocations: 87.39 kB / 3.093 GB, free: 116.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.411/6.795, allocations: 415.8 MB / 3.499 GB, free: 175.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.923e-06/6.795, allocations: 0 / 3.499 GB, free: 175.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.626e-05/6.795, allocations: 16 kB / 3.499 GB, free: 175.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001373/6.797, allocations: 0.8887 MB / 3.5 GB, free: 174.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/6.797, allocations: 12.03 kB / 3.5 GB, free: 174.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/6.797, allocations: 75.11 kB / 3.5 GB, free: 174.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/6.797, allocations: 419.7 kB / 3.5 GB, free: 174.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/6.797, allocations: 45.3 kB / 3.501 GB, free: 174.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/6.798, allocations: 48 kB / 3.501 GB, free: 174.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007804/6.798, allocations: 0.692 MB / 3.501 GB, free: 173.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/6.798, allocations: 7.938 kB / 3.501 GB, free: 173.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/6.798, allocations: 20 kB / 3.501 GB, free: 173.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/6.798, allocations: 31.98 kB / 3.501 GB, free: 173.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/6.799, allocations: 379.3 kB / 3.502 GB, free: 173 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/6.801, allocations: 3.22 MB / 3.505 GB, free: 169.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/6.801, allocations: 218.1 kB / 3.505 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/6.801, allocations: 12.33 kB / 3.505 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/6.801, allocations: 50.48 kB / 3.505 GB, free: 169.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/6.801, allocations: 0 / 3.505 GB, free: 169.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.0005911/6.802, allocations: 261.8 kB / 3.505 GB, free: 169 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/6.802, allocations: 294.7 kB / 3.506 GB, free: 168.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005009/6.802, allocations: 0.6049 MB / 3.506 GB, free: 168 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/6.802, allocations: 29.7 kB / 3.506 GB, free: 168 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/6.802, allocations: 272.1 kB / 3.506 GB, free: 167.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/6.802, allocations: 35.55 kB / 3.507 GB, free: 167.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/6.802, allocations: 0 / 3.507 GB, free: 167.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/6.802, allocations: 378.7 kB / 3.507 GB, free: 167.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.416e-05/6.803, allocations: 35.97 kB / 3.507 GB, free: 167.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/6.803, allocations: 120.5 kB / 3.507 GB, free: 167.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/6.803, allocations: 55.95 kB / 3.507 GB, free: 167 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/6.803, allocations: 0 / 3.507 GB, free: 167 MB / 1.167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002724/6.803, allocations: 192.8 kB / 3.507 GB, free: 166.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/6.803, allocations: 13.28 kB / 3.507 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/6.803, allocations: 0 / 3.507 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/6.803, allocations: 4 kB / 3.507 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/6.803, allocations: 27.92 kB / 3.507 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/6.803, allocations: 7.969 kB / 3.507 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/6.803, allocations: 67.27 kB / 3.507 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/6.804, allocations: 12 kB / 3.507 GB, free: 166.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001564/6.804, allocations: 209.7 kB / 3.508 GB, free: 166.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/6.804, allocations: 59.25 kB / 3.508 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.888e-05/6.804, allocations: 72.25 kB / 3.508 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/6.804, allocations: 4 kB / 3.508 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/6.804, allocations: 4 kB / 3.508 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/6.804, allocations: 0 / 3.508 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009961/6.805, allocations: 1.293 MB / 3.509 GB, free: 165 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/6.805, allocations: 4.062 kB / 3.509 GB, free: 165 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.856e-05/6.805, allocations: 27.92 kB / 3.509 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/6.805, allocations: 4 kB / 3.509 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/6.805, allocations: 8 kB / 3.509 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/6.805, allocations: 7.953 kB / 3.509 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/6.805, allocations: 0 / 3.509 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/6.805, allocations: 458 kB / 3.509 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/6.806, allocations: 148.4 kB / 3.51 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/6.806, allocations: 4.094 kB / 3.51 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/6.806, allocations: 31.78 kB / 3.51 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/6.806, allocations: 19.89 kB / 3.51 GB, free: 164.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/6.806, allocations: 4 kB / 3.51 GB, free: 164.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003944/6.806, allocations: 0.4912 MB / 3.51 GB, free: 163.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/6.806, allocations: 0 / 3.51 GB, free: 163.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007983/6.807, allocations: 219.9 kB / 3.51 GB, free: 163.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001558/6.809, allocations: 1.444 MB / 3.512 GB, free: 161.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002661/6.809, allocations: 107.9 kB / 3.512 GB, free: 161.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/6.809, allocations: 7.938 kB / 3.512 GB, free: 161.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/6.809, allocations: 64.83 kB / 3.512 GB, free: 161.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/6.81, allocations: 272.7 kB / 3.512 GB, free: 161.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/6.811, allocations: 0.9592 MB / 3.513 GB, free: 160.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/6.811, allocations: 0.9169 MB / 3.514 GB, free: 159.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002139/6.812, allocations: 108.6 kB / 3.514 GB, free: 159.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/6.812, allocations: 31.44 kB / 3.514 GB, free: 159.4 MB / 1.167 GB Notification: Performance of SimCode: time 3.91e-07/6.812, allocations: 0 / 3.514 GB, free: 159.4 MB / 1.167 GB Notification: Performance of Templates: time 0.03013/6.842, allocations: 25.87 MB / 3.539 GB, free: 133.6 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches