Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.131/2.131, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001385/0.001386, allocations: 173.3 kB / 487 MB, free: 5.387 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.57/1.57, allocations: 221.3 MB / 0.7819 GB, free: 1.387 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.001092/0.001092, allocations: 93.7 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.107e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3273, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.173/1.501, allocations: 419 MB / 1.614 GB, free: 4.594 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/1.501, allocations: 94.81 kB / 1.614 GB, free: 4.547 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.473/2.974, allocations: 444.3 MB / 2.048 GB, free: 111.1 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001251/2.974, allocations: 31.98 kB / 2.048 GB, free: 111.1 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.00213/2.977, allocations: 1.259 MB / 2.05 GB, free: 109.8 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/2.977, allocations: 8.031 kB / 2.05 GB, free: 109.8 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003499/2.977, allocations: 134.5 kB / 2.05 GB, free: 109.6 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02823/3.005, allocations: 13.01 MB / 2.062 GB, free: 96.45 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/3.005, allocations: 24 kB / 2.062 GB, free: 96.42 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/3.005, allocations: 44 kB / 2.063 GB, free: 96.38 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009072/3.006, allocations: 451.9 kB / 2.063 GB, free: 95.94 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009054/3.007, allocations: 0.6306 MB / 2.064 GB, free: 95.28 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/3.007, allocations: 0 / 2.064 GB, free: 95.28 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.369e-05/3.007, allocations: 4 kB / 2.064 GB, free: 95.27 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/3.007, allocations: 20 kB / 2.064 GB, free: 95.25 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003838/3.011, allocations: 3.549 MB / 2.067 GB, free: 91.51 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/3.012, allocations: 193.8 kB / 2.067 GB, free: 91.31 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/3.012, allocations: 152.8 kB / 2.067 GB, free: 91.16 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004147/3.012, allocations: 0.6649 MB / 2.068 GB, free: 90.35 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/3.012, allocations: 42.56 kB / 2.068 GB, free: 90.3 MB / 1.135 GB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/3.012, allocations: 0 / 2.068 GB, free: 90.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=31): time 0.0007551/3.013, allocations: 356.9 kB / 2.068 GB, free: 89.94 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/3.013, allocations: 51.41 kB / 2.068 GB, free: 89.88 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006793/3.014, allocations: 0.6454 MB / 2.069 GB, free: 89.23 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/3.014, allocations: 29.7 kB / 2.069 GB, free: 89.19 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/3.014, allocations: 378.9 kB / 2.069 GB, free: 88.81 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 8.91e-05/3.014, allocations: 110.4 kB / 2.07 GB, free: 88.7 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/3.014, allocations: 0 / 2.07 GB, free: 88.7 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 6.314e-05/3.014, allocations: 326.3 kB / 2.07 GB, free: 88.38 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/3.014, allocations: 117 kB / 2.07 GB, free: 88.27 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/3.015, allocations: 325.7 kB / 2.07 GB, free: 87.85 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/3.015, allocations: 187.7 kB / 2.071 GB, free: 87.67 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/3.015, allocations: 0 / 2.071 GB, free: 87.67 MB / 1.135 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007224/3.016, allocations: 499.8 kB / 2.071 GB, free: 87.17 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/3.016, allocations: 8.688 kB / 2.071 GB, free: 87.16 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/3.016, allocations: 4 kB / 2.071 GB, free: 87.16 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/3.016, allocations: 12 kB / 2.071 GB, free: 87.15 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/3.016, allocations: 119.8 kB / 2.071 GB, free: 87.03 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/3.016, allocations: 11.94 kB / 2.071 GB, free: 87.02 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/3.017, allocations: 83.39 kB / 2.071 GB, free: 86.94 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/3.017, allocations: 27.98 kB / 2.071 GB, free: 86.91 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0001023/3.017, allocations: 120.8 kB / 2.071 GB, free: 86.79 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/3.017, allocations: 82.97 kB / 2.071 GB, free: 86.7 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007736/3.018, allocations: 434.6 kB / 2.072 GB, free: 86.27 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/3.018, allocations: 8 kB / 2.072 GB, free: 86.26 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/3.018, allocations: 0 / 2.072 GB, free: 86.26 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004915/3.018, allocations: 411.4 kB / 2.072 GB, free: 85.83 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/3.02, allocations: 1.213 MB / 2.073 GB, free: 84.55 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/3.02, allocations: 8.094 kB / 2.073 GB, free: 84.54 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/3.02, allocations: 87.88 kB / 2.074 GB, free: 84.46 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/3.02, allocations: 7.906 kB / 2.074 GB, free: 84.45 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/3.021, allocations: 4 kB / 2.074 GB, free: 84.45 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/3.021, allocations: 0 / 2.074 GB, free: 84.45 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/3.021, allocations: 8 kB / 2.074 GB, free: 84.44 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008449/3.021, allocations: 0.7642 MB / 2.074 GB, free: 83.61 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/3.022, allocations: 223.9 kB / 2.075 GB, free: 83.38 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/3.022, allocations: 0 / 2.075 GB, free: 83.38 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/3.022, allocations: 59.84 kB / 2.075 GB, free: 83.32 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/3.022, allocations: 23.97 kB / 2.075 GB, free: 83.29 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/3.022, allocations: 19.98 kB / 2.075 GB, free: 83.27 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0005278/3.023, allocations: 499.1 kB / 2.075 GB, free: 82.79 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.00117/3.024, allocations: 375.1 kB / 2.075 GB, free: 82.42 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0009657/3.025, allocations: 0.5766 MB / 2.076 GB, free: 81.85 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0005192/3.026, allocations: 339.9 kB / 2.076 GB, free: 81.52 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/3.026, allocations: 0 / 2.076 GB, free: 81.52 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/3.026, allocations: 163.8 kB / 2.076 GB, free: 81.36 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/3.028, allocations: 460.4 kB / 2.077 GB, free: 80.92 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/3.03, allocations: 1.176 MB / 2.078 GB, free: 79.7 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006223/3.031, allocations: 1.136 MB / 2.079 GB, free: 78.54 MB / 1.135 GB Notification: Performance of SimCode: time 6.11e-07/3.031, allocations: 0 / 2.079 GB, free: 78.54 MB / 1.135 GB Notification: Performance of Templates: time 0.02637/3.057, allocations: 17.04 MB / 2.096 GB, free: 61.68 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches