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.455/1.455, allocations: 249.5 MB / 257 MB, free: 6.926 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.001113/0.001113, allocations: 168.9 kB / 316.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0009235/0.0009235, allocations: 86.47 kB / 0.6714 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.91e-05/1.913e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2394, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.952/6.192, allocations: 2.183 GB / 3.069 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/6.192, allocations: 86.33 kB / 3.069 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.254/7.446, allocations: 393.1 MB / 3.453 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.643e-06/7.446, allocations: 0 / 3.453 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.133e-05/7.446, allocations: 20 kB / 3.453 GB, free: 137.5 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.001724/7.448, allocations: 0.8539 MB / 3.453 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/7.448, allocations: 8.031 kB / 3.453 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/7.448, allocations: 67.25 kB / 3.453 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/7.449, allocations: 420.5 kB / 3.454 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/7.449, allocations: 20 kB / 3.454 GB, free: 136 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/7.449, allocations: 32 kB / 3.454 GB, free: 136 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004768/7.449, allocations: 274.5 kB / 3.454 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007069/7.45, allocations: 0.5878 MB / 3.455 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/7.45, allocations: 3.938 kB / 3.455 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/7.45, allocations: 4 kB / 3.455 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-05/7.45, allocations: 31.98 kB / 3.455 GB, free: 135 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/7.452, allocations: 2.994 MB / 3.458 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/7.453, allocations: 194.2 kB / 3.458 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/7.453, allocations: 116.6 kB / 3.458 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/7.453, allocations: 7.984 kB / 3.458 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/7.453, allocations: 46.5 kB / 3.458 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 3.346e-06/7.453, allocations: 0 / 3.458 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0004275/7.453, allocations: 137.1 kB / 3.458 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/7.453, allocations: 286.7 kB / 3.458 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/7.454, allocations: 225.2 kB / 3.459 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/7.454, allocations: 25.7 kB / 3.459 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/7.454, allocations: 295.9 kB / 3.459 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/7.454, allocations: 31.56 kB / 3.459 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/7.454, allocations: 0 / 3.459 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.378e-05/7.454, allocations: 338.8 kB / 3.459 GB, free: 130 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.562e-05/7.454, allocations: 23.94 kB / 3.459 GB, free: 130 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.585e-05/7.454, allocations: 100.6 kB / 3.459 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/7.454, allocations: 31.91 kB / 3.459 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/7.454, allocations: 0 / 3.459 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001639/7.454, allocations: 133.3 kB / 3.46 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/7.454, allocations: 4 kB / 3.46 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/7.454, allocations: 0 / 3.46 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/7.454, allocations: 4 kB / 3.46 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/7.454, allocations: 27.92 kB / 3.46 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/7.454, allocations: 3.953 kB / 3.46 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/7.455, allocations: 31.97 kB / 3.46 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/7.455, allocations: 8.328 kB / 3.46 GB, free: 129.6 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 8.192e-05/7.455, allocations: 105 kB / 3.46 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/7.455, allocations: 23.72 kB / 3.46 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/7.455, allocations: 37.3 kB / 3.46 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/7.455, allocations: 7.984 kB / 3.46 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/7.455, allocations: 0 / 3.46 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/7.455, allocations: 7.953 kB / 3.46 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/7.456, allocations: 1.219 MB / 3.461 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/7.456, allocations: 8 kB / 3.461 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/7.456, allocations: 31.88 kB / 3.461 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/7.456, allocations: 0 / 3.461 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/7.456, allocations: 4 kB / 3.461 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/7.456, allocations: 4 kB / 3.461 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/7.456, allocations: 4 kB / 3.461 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/7.457, allocations: 390.4 kB / 3.461 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-05/7.457, allocations: 104.8 kB / 3.462 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.986e-05/7.457, allocations: 8 kB / 3.462 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/7.457, allocations: 19.97 kB / 3.462 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/7.457, allocations: 19.92 kB / 3.462 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/7.457, allocations: 4 kB / 3.462 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001362/7.457, allocations: 180.6 kB / 3.462 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/7.457, allocations: 0 / 3.462 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008324/7.458, allocations: 211.3 kB / 3.462 GB, free: 127 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.003112/7.461, allocations: 1.633 MB / 3.464 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002807/7.461, allocations: 71.91 kB / 3.464 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/7.461, allocations: 0 / 3.464 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/7.462, allocations: 44.61 kB / 3.464 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000687/7.462, allocations: 98.3 kB / 3.464 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/7.464, allocations: 0.5899 MB / 3.464 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/7.464, allocations: 0.9116 MB / 3.465 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001781/7.465, allocations: 54.02 kB / 3.465 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/7.465, allocations: 15.44 kB / 3.465 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.222e-06/7.465, allocations: 4 kB / 3.465 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.01794/7.483, allocations: 11.71 MB / 3.477 GB, free: 111.8 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