Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 249.3 MB / 261.8 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 182.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 90.52 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.283e-05/4.287e-05, allocations: 0 / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2378, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.067/6.305, allocations: 2.183 GB / 3.075 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/6.305, allocations: 83.95 kB / 3.075 GB, free: 187 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.361/7.665, allocations: 398.5 MB / 3.464 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.362e-06/7.665, allocations: 0 / 3.464 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.313e-05/7.666, allocations: 20 kB / 3.464 GB, free: 125.9 MB / 0.8698 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.002281/7.668, allocations: 0.8459 MB / 3.465 GB, free: 125 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/7.668, allocations: 8.031 kB / 3.465 GB, free: 125 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/7.668, allocations: 63.25 kB / 3.465 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007959/7.669, allocations: 424.5 kB / 3.465 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/7.669, allocations: 45.3 kB / 3.465 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.009e-05/7.669, allocations: 52 kB / 3.465 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009055/7.67, allocations: 0.6638 MB / 3.466 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/7.67, allocations: 3.938 kB / 3.466 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/7.67, allocations: 24 kB / 3.466 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/7.67, allocations: 35.98 kB / 3.466 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/7.671, allocations: 323.5 kB / 3.467 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/7.673, allocations: 3.216 MB / 3.47 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/7.673, allocations: 218.2 kB / 3.47 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/7.673, allocations: 116.5 kB / 3.47 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/7.673, allocations: 8 kB / 3.47 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/7.673, allocations: 42.5 kB / 3.47 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 2.354e-06/7.673, allocations: 0 / 3.47 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.000445/7.674, allocations: 184.6 kB / 3.47 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/7.674, allocations: 286.7 kB / 3.47 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/7.674, allocations: 0.6012 MB / 3.471 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/7.674, allocations: 30.02 kB / 3.471 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/7.675, allocations: 268.2 kB / 3.471 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/7.675, allocations: 31.55 kB / 3.471 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/7.675, allocations: 3.938 kB / 3.471 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/7.675, allocations: 370.7 kB / 3.472 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.778e-05/7.675, allocations: 27.98 kB / 3.472 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.214e-05/7.675, allocations: 100.6 kB / 3.472 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.925e-05/7.675, allocations: 35.92 kB / 3.472 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/7.675, allocations: 0 / 3.472 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001734/7.675, allocations: 172.7 kB / 3.472 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/7.675, allocations: 9.078 kB / 3.472 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/7.675, allocations: 4 kB / 3.472 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/7.675, allocations: 0 / 3.472 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/7.675, allocations: 23.98 kB / 3.472 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/7.675, allocations: 4 kB / 3.472 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/7.676, allocations: 75.45 kB / 3.472 GB, free: 117 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/7.676, allocations: 11.98 kB / 3.472 GB, free: 117 MB / 0.8698 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 7.116e-05/7.676, allocations: 116.9 kB / 3.472 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/7.676, allocations: 59.3 kB / 3.472 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.718e-05/7.676, allocations: 60.33 kB / 3.472 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/7.676, allocations: 4 kB / 3.472 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/7.676, allocations: 7.984 kB / 3.472 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/7.676, allocations: 4 kB / 3.472 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/7.677, allocations: 1.296 MB / 3.474 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/7.677, allocations: 4 kB / 3.474 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.756e-05/7.677, allocations: 23.98 kB / 3.474 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/7.677, allocations: 4 kB / 3.474 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/7.677, allocations: 4 kB / 3.474 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/7.677, allocations: 4 kB / 3.474 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/7.677, allocations: 8.156 kB / 3.474 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/7.678, allocations: 417.9 kB / 3.474 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/7.678, allocations: 148.3 kB / 3.474 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/7.678, allocations: 12.33 kB / 3.474 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/7.678, allocations: 15.98 kB / 3.474 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/7.678, allocations: 23.92 kB / 3.474 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/7.678, allocations: 4 kB / 3.474 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004154/7.678, allocations: 495 kB / 3.475 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.678, allocations: 0 / 3.475 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009075/7.679, allocations: 223.9 kB / 3.475 GB, free: 113.9 MB / 0.8698 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.001837/7.681, allocations: 1.445 MB / 3.476 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001639/7.681, allocations: 75.84 kB / 3.476 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/7.681, allocations: 0 / 3.476 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.388e-05/7.681, allocations: 52.8 kB / 3.477 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/7.683, allocations: 273 kB / 3.477 GB, free: 112 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008375/7.683, allocations: 0.6533 MB / 3.477 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/7.684, allocations: 0.9169 MB / 3.478 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002168/7.684, allocations: 96.62 kB / 3.478 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/7.684, allocations: 35.44 kB / 3.478 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.7e-07/7.684, allocations: 0 / 3.478 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.036/7.72, allocations: 29.75 MB / 3.508 GB, free: 80.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches