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.277/2.277, allocations: 387.1 MB / 399.7 MB, free: 9.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.001039/0.001039, allocations: 176.9 kB / 492.3 MB, free: 0.6133 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.776/1.776, allocations: 221.3 MB / 0.7872 GB, free: 12.89 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.001084/0.001084, allocations: 95.38 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.378e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3384, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.996/6.335, allocations: 1.87 GB / 3.082 GB, free: 436.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/6.335, allocations: 87.39 kB / 3.083 GB, free: 436.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.7524/7.087, allocations: 415.4 MB / 3.488 GB, free: 37.58 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.894e-06/7.087, allocations: 0 / 3.488 GB, free: 37.58 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.264e-05/7.087, allocations: 20 kB / 3.488 GB, free: 37.56 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.001486/7.089, allocations: 0.842 MB / 3.489 GB, free: 36.67 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/7.089, allocations: 16.03 kB / 3.489 GB, free: 36.66 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.995e-05/7.089, allocations: 67.38 kB / 3.489 GB, free: 36.59 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/7.09, allocations: 424.5 kB / 3.49 GB, free: 36.14 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/7.09, allocations: 45.3 kB / 3.49 GB, free: 36.09 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/7.09, allocations: 52 kB / 3.49 GB, free: 36.04 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007719/7.091, allocations: 0.6681 MB / 3.49 GB, free: 35.29 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/7.091, allocations: 3.938 kB / 3.49 GB, free: 35.29 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/7.091, allocations: 24 kB / 3.49 GB, free: 35.27 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/7.091, allocations: 31.98 kB / 3.49 GB, free: 35.23 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/7.091, allocations: 324.8 kB / 3.491 GB, free: 34.92 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/7.093, allocations: 3.216 MB / 3.494 GB, free: 31.56 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/7.093, allocations: 222.1 kB / 3.494 GB, free: 31.25 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/7.093, allocations: 116.5 kB / 3.494 GB, free: 31.11 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/7.093, allocations: 4 kB / 3.494 GB, free: 31.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/7.093, allocations: 46.5 kB / 3.494 GB, free: 31.05 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/7.093, allocations: 0 / 3.494 GB, free: 31.05 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0003971/7.094, allocations: 176.9 kB / 3.494 GB, free: 30.87 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/7.094, allocations: 290.7 kB / 3.495 GB, free: 30.52 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005201/7.094, allocations: 0.6012 MB / 3.495 GB, free: 29.91 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/7.094, allocations: 29.7 kB / 3.495 GB, free: 29.88 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/7.094, allocations: 272.1 kB / 3.496 GB, free: 29.61 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/7.094, allocations: 27.78 kB / 3.496 GB, free: 29.58 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/7.094, allocations: 4 kB / 3.496 GB, free: 29.57 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.149e-05/7.094, allocations: 370.8 kB / 3.496 GB, free: 29.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/7.095, allocations: 27.98 kB / 3.496 GB, free: 29.18 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.253e-05/7.095, allocations: 100.5 kB / 3.496 GB, free: 29.05 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.927e-05/7.095, allocations: 35.98 kB / 3.496 GB, free: 29.01 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/7.095, allocations: 0 / 3.496 GB, free: 29.01 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001694/7.095, allocations: 169 kB / 3.496 GB, free: 28.84 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/7.095, allocations: 4 kB / 3.496 GB, free: 28.84 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/7.095, allocations: 4.281 kB / 3.496 GB, free: 28.83 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/7.095, allocations: 0 / 3.496 GB, free: 28.83 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/7.095, allocations: 32.23 kB / 3.496 GB, free: 28.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/7.095, allocations: 7.938 kB / 3.496 GB, free: 28.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/7.095, allocations: 71.33 kB / 3.496 GB, free: 28.72 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/7.095, allocations: 15.92 kB / 3.496 GB, free: 28.71 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 6.784e-05/7.095, allocations: 109 kB / 3.496 GB, free: 28.59 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/7.096, allocations: 63.2 kB / 3.497 GB, free: 28.53 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.772e-05/7.096, allocations: 60.33 kB / 3.497 GB, free: 28.46 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/7.096, allocations: 0 / 3.497 GB, free: 28.46 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/7.096, allocations: 4 kB / 3.497 GB, free: 28.46 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/7.096, allocations: 11.92 kB / 3.497 GB, free: 28.45 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/7.097, allocations: 1.293 MB / 3.498 GB, free: 27.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/7.097, allocations: 4 kB / 3.498 GB, free: 27.06 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.871e-05/7.097, allocations: 27.92 kB / 3.498 GB, free: 27.04 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/7.097, allocations: 4 kB / 3.498 GB, free: 27.03 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/7.097, allocations: 4 kB / 3.498 GB, free: 27.03 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/7.097, allocations: 0 / 3.498 GB, free: 27.03 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/7.097, allocations: 4 kB / 3.498 GB, free: 27.02 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/7.097, allocations: 413.9 kB / 3.498 GB, free: 26.52 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/7.097, allocations: 152.4 kB / 3.498 GB, free: 26.35 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/7.097, allocations: 15.94 kB / 3.498 GB, free: 26.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/7.098, allocations: 15.98 kB / 3.498 GB, free: 26.32 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/7.098, allocations: 15.98 kB / 3.498 GB, free: 26.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/7.098, allocations: 4 kB / 3.498 GB, free: 26.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004218/7.098, allocations: 491.1 kB / 3.499 GB, free: 25.82 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/7.098, allocations: 0 / 3.499 GB, free: 25.82 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009045/7.099, allocations: 227.9 kB / 3.499 GB, free: 25.6 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.001877/7.101, allocations: 1.454 MB / 3.501 GB, free: 24.09 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001701/7.101, allocations: 79.84 kB / 3.501 GB, free: 24.01 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/7.101, allocations: 0 / 3.501 GB, free: 24.01 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/7.101, allocations: 47.92 kB / 3.501 GB, free: 23.96 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/7.102, allocations: 267.6 kB / 3.501 GB, free: 23.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008318/7.103, allocations: 0.653 MB / 3.502 GB, free: 22.99 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/7.103, allocations: 0.9169 MB / 3.502 GB, free: 22.05 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002153/7.104, allocations: 100.6 kB / 3.503 GB, free: 21.95 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/7.104, allocations: 35.44 kB / 3.503 GB, free: 21.91 MB / 1.151 GB Notification: Performance of SimCode: time 4.21e-07/7.104, allocations: 0 / 3.503 GB, free: 21.91 MB / 1.151 GB Notification: Performance of Templates: time 0.774/7.878, allocations: 29.77 MB / 3.532 GB, free: 307.6 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