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.013/2.013, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.0009782/0.0009783, allocations: 168.9 kB / 487.4 MB, free: 5.055 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.439/1.439, allocations: 221.5 MB / 0.7824 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008815/0.0008815, allocations: 99.86 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.775e-05/1.777e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2681, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.079/4.347, allocations: 1.869 GB / 3.075 GB, free: 11.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/4.347, allocations: 79.95 kB / 3.075 GB, free: 11.72 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.38/5.727, allocations: 410 MB / 3.476 GB, free: 64.08 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.473e-06/5.727, allocations: 4 kB / 3.476 GB, free: 64.08 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.269e-05/5.727, allocations: 20 kB / 3.476 GB, free: 64.06 MB / 1.151 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.001716/5.729, allocations: 0.842 MB / 3.477 GB, free: 63.17 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/5.729, allocations: 12.03 kB / 3.477 GB, free: 63.16 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/5.729, allocations: 67.16 kB / 3.477 GB, free: 63.09 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000626/5.73, allocations: 424.5 kB / 3.477 GB, free: 62.64 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/5.73, allocations: 19.95 kB / 3.477 GB, free: 62.62 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.424e-05/5.73, allocations: 36 kB / 3.477 GB, free: 62.59 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004546/5.73, allocations: 278.5 kB / 3.478 GB, free: 62.31 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000675/5.731, allocations: 0.587 MB / 3.478 GB, free: 61.64 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/5.731, allocations: 7.938 kB / 3.478 GB, free: 61.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/5.731, allocations: 0 / 3.478 GB, free: 61.64 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.47e-05/5.731, allocations: 27.98 kB / 3.478 GB, free: 61.61 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/5.733, allocations: 2.991 MB / 3.481 GB, free: 58.49 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/5.733, allocations: 198.2 kB / 3.481 GB, free: 58.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.978e-05/5.733, allocations: 108.6 kB / 3.481 GB, free: 58.07 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/5.733, allocations: 8 kB / 3.481 GB, free: 58.06 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/5.733, allocations: 42.48 kB / 3.481 GB, free: 58.01 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/5.733, allocations: 4 kB / 3.481 GB, free: 58 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.000369/5.734, allocations: 141 kB / 3.482 GB, free: 57.86 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/5.734, allocations: 287 kB / 3.482 GB, free: 57.51 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/5.734, allocations: 221.2 kB / 3.482 GB, free: 57.29 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/5.734, allocations: 29.7 kB / 3.482 GB, free: 57.25 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/5.734, allocations: 299.5 kB / 3.482 GB, free: 56.95 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/5.734, allocations: 27.56 kB / 3.482 GB, free: 56.93 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/5.734, allocations: 0 / 3.482 GB, free: 56.93 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.203e-05/5.734, allocations: 339.1 kB / 3.483 GB, free: 56.59 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.139e-05/5.734, allocations: 19.98 kB / 3.483 GB, free: 56.57 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-05/5.734, allocations: 96.56 kB / 3.483 GB, free: 56.44 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.532e-05/5.734, allocations: 47.84 kB / 3.483 GB, free: 56.39 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/5.734, allocations: 4 kB / 3.483 GB, free: 56.39 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001389/5.734, allocations: 117.3 kB / 3.483 GB, free: 56.27 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/5.734, allocations: 10.03 kB / 3.483 GB, free: 56.26 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/5.734, allocations: 4 kB / 3.483 GB, free: 56.26 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/5.734, allocations: 4 kB / 3.483 GB, free: 56.25 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/5.735, allocations: 27.92 kB / 3.483 GB, free: 56.23 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/5.735, allocations: 4.188 kB / 3.483 GB, free: 56.22 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/5.735, allocations: 35.77 kB / 3.483 GB, free: 56.19 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/5.735, allocations: 8 kB / 3.483 GB, free: 56.18 MB / 1.151 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 () * 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 5.799e-05/5.735, allocations: 105 kB / 3.483 GB, free: 56.07 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/5.735, allocations: 27.72 kB / 3.483 GB, free: 56.04 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.536e-05/5.735, allocations: 33.36 kB / 3.483 GB, free: 56.01 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/5.735, allocations: 4 kB / 3.483 GB, free: 56.01 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/5.735, allocations: 8.219 kB / 3.483 GB, free: 56 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/5.735, allocations: 7.984 kB / 3.483 GB, free: 55.99 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/5.736, allocations: 1.211 MB / 3.484 GB, free: 54.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/5.736, allocations: 3.938 kB / 3.484 GB, free: 54.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/5.736, allocations: 27.92 kB / 3.484 GB, free: 54.67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/5.736, allocations: 11.94 kB / 3.484 GB, free: 54.66 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/5.736, allocations: 4 kB / 3.484 GB, free: 54.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/5.736, allocations: 8.281 kB / 3.484 GB, free: 54.65 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/5.736, allocations: 3.938 kB / 3.484 GB, free: 54.64 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/5.736, allocations: 374.3 kB / 3.485 GB, free: 54.18 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/5.737, allocations: 108.8 kB / 3.485 GB, free: 54.05 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/5.737, allocations: 4 kB / 3.485 GB, free: 54.05 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/5.737, allocations: 19.97 kB / 3.485 GB, free: 54.03 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/5.737, allocations: 23.94 kB / 3.485 GB, free: 54.01 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/5.737, allocations: 4 kB / 3.485 GB, free: 54 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001104/5.737, allocations: 176.6 kB / 3.485 GB, free: 53.84 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.737, allocations: 0 / 3.485 GB, free: 53.84 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006388/5.738, allocations: 211.2 kB / 3.485 GB, free: 53.63 MB / 1.151 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 () * 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.002127/5.74, allocations: 1.633 MB / 3.487 GB, free: 51.93 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001557/5.74, allocations: 80.09 kB / 3.487 GB, free: 51.85 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/5.74, allocations: 4 kB / 3.487 GB, free: 51.85 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.792e-05/5.74, allocations: 39.92 kB / 3.487 GB, free: 51.81 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/5.74, allocations: 89.38 kB / 3.487 GB, free: 51.72 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008049/5.741, allocations: 0.5822 MB / 3.488 GB, free: 51.09 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/5.742, allocations: 0.9155 MB / 3.489 GB, free: 50.14 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001354/5.742, allocations: 58 kB / 3.489 GB, free: 50.09 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/5.742, allocations: 19.44 kB / 3.489 GB, free: 50.07 MB / 1.151 GB Notification: Performance of SimCode: time 3.41e-07/5.742, allocations: 0 / 3.489 GB, free: 50.07 MB / 1.151 GB Notification: Performance of Templates: time 0.01608/5.758, allocations: 11.72 MB / 3.5 GB, free: 38.39 MB / 1.151 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