Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.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.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q1_flow|hex.QSen2_flow|hex.QLat2_flow|hex.m1_flow|hex.m2_flow|hex.ele.1..mas.T|senTemAirIn.T|senTemWatIn.T",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q1_flow|hex.QSen2_flow|hex.QLat2_flow|hex.m1_flow|hex.m2_flow|hex.ele.1..mas.T|senTemAirIn.T|senTemWatIn.T",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate") [: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.046/2.046, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001037/0.001037, allocations: 181.3 kB / 487 MB, free: 5.363 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.571/1.571, allocations: 221.3 MB / 0.7819 GB, free: 1.402 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.001101/0.001101, allocations: 94.19 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.915e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3349, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.336/5.671, allocations: 2.196 GB / 3.402 GB, free: 126.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/5.672, allocations: 95.62 kB / 3.402 GB, free: 126.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.529/10.2, allocations: 1.364 GB / 4.765 GB, free: 71.12 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002485/10.2, allocations: 59.97 kB / 4.765 GB, free: 71.07 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 438 * Number of variables: 438 Notification: Performance of Generate backend data structure: time 0.008342/10.21, allocations: 2.707 MB / 4.768 GB, free: 68.31 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/10.21, allocations: 8.031 kB / 4.768 GB, free: 68.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004156/10.21, allocations: 0.5471 MB / 4.769 GB, free: 67.75 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005725/10.22, allocations: 2.442 MB / 4.771 GB, free: 65.26 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.09e-05/10.22, allocations: 52 kB / 4.771 GB, free: 65.21 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/10.22, allocations: 100 kB / 4.771 GB, free: 65.11 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002887/10.22, allocations: 1.701 MB / 4.773 GB, free: 63.41 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/10.23, allocations: 2.017 MB / 4.775 GB, free: 61.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.722e-05/10.23, allocations: 3.938 kB / 4.775 GB, free: 61.29 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/10.23, allocations: 4 kB / 4.775 GB, free: 61.29 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.802e-05/10.23, allocations: 91.08 kB / 4.775 GB, free: 61.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/10.24, allocations: 10.85 MB / 4.785 GB, free: 49.71 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000996/10.24, allocations: 0.7665 MB / 4.786 GB, free: 48.94 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007187/10.24, allocations: 0.6467 MB / 4.787 GB, free: 48.29 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/10.24, allocations: 1.463 MB / 4.788 GB, free: 46.52 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/10.24, allocations: 43.56 kB / 4.788 GB, free: 46.46 MB / 1.167 GB Notification: Performance of pre-optimization done (n=99): time 3.256e-06/10.24, allocations: 0 / 4.788 GB, free: 46.46 MB / 1.167 GB Notification: Performance of matching and sorting (n=101): time 0.007217/10.25, allocations: 3.066 MB / 4.791 GB, free: 43.34 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/10.25, allocations: 68.31 kB / 4.791 GB, free: 43.26 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/10.25, allocations: 1.399 MB / 4.793 GB, free: 41.86 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/10.25, allocations: 29.7 kB / 4.793 GB, free: 41.82 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/10.25, allocations: 0.7071 MB / 4.793 GB, free: 41.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/10.25, allocations: 346.9 kB / 4.794 GB, free: 40.75 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/10.25, allocations: 0 / 4.794 GB, free: 40.75 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.215e-05/10.25, allocations: 349.9 kB / 4.794 GB, free: 40.41 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006175/10.25, allocations: 0.5141 MB / 4.795 GB, free: 39.89 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007611/10.25, allocations: 0.893 MB / 4.795 GB, free: 38.84 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hex.ele[1].vol2.dynBal.medium.p = hex.ele[1].vol2.dynBal.p_start (sin_a.p = hex.ele[1].vol2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005583/10.26, allocations: 2.061 MB / 4.797 GB, free: 36.76 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/10.26, allocations: 7.172 kB / 4.797 GB, free: 36.76 MB / 1.167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002673/10.26, allocations: 1.568 MB / 4.799 GB, free: 35.18 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007296/10.26, allocations: 3.671 MB / 4.803 GB, free: 31.18 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/10.26, allocations: 11.94 kB / 4.803 GB, free: 31.17 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.322e-05/10.26, allocations: 16 kB / 4.803 GB, free: 31.15 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/10.26, allocations: 275.6 kB / 4.803 GB, free: 30.88 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/10.26, allocations: 27.92 kB / 4.803 GB, free: 30.86 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/10.27, allocations: 155.6 kB / 4.803 GB, free: 30.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/10.27, allocations: 55.98 kB / 4.803 GB, free: 30.65 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/10.27, allocations: 4 kB / 4.803 GB, free: 30.64 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002039/10.27, allocations: 1.349 MB / 4.804 GB, free: 29.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/10.27, allocations: 20.25 kB / 4.804 GB, free: 29.28 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/10.27, allocations: 16 kB / 4.804 GB, free: 29.26 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/10.27, allocations: 275.5 kB / 4.805 GB, free: 28.99 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/10.27, allocations: 19.94 kB / 4.805 GB, free: 28.97 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/10.27, allocations: 151.7 kB / 4.805 GB, free: 28.82 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/10.27, allocations: 55.98 kB / 4.805 GB, free: 28.77 MB / 1.167 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: hex.ele[1].vol2.dynBal.medium.p = hex.ele[1].vol2.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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.0002657/10.27, allocations: 146.4 kB / 4.805 GB, free: 28.62 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/10.27, allocations: 173.9 kB / 4.805 GB, free: 28.45 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002643/10.27, allocations: 1.522 MB / 4.807 GB, free: 26.92 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/10.27, allocations: 16.28 kB / 4.807 GB, free: 26.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/10.27, allocations: 0 / 4.807 GB, free: 26.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001641/10.28, allocations: 1.478 MB / 4.808 GB, free: 25.34 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005926/10.28, allocations: 3.799 MB / 4.812 GB, free: 21.42 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/10.28, allocations: 4 kB / 4.812 GB, free: 21.41 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/10.28, allocations: 230.4 kB / 4.812 GB, free: 21.19 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.514e-05/10.28, allocations: 15.94 kB / 4.812 GB, free: 21.18 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/10.28, allocations: 19.98 kB / 4.812 GB, free: 21.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/10.28, allocations: 19.92 kB / 4.812 GB, free: 21.14 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/10.28, allocations: 7.938 kB / 4.812 GB, free: 21.13 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002935/10.29, allocations: 2.657 MB / 4.815 GB, free: 18.21 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009974/10.29, allocations: 434.8 kB / 4.815 GB, free: 17.77 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/10.29, allocations: 15.98 kB / 4.815 GB, free: 17.75 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/10.29, allocations: 123.7 kB / 4.815 GB, free: 17.63 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/10.29, allocations: 72.53 kB / 4.815 GB, free: 17.56 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.694e-05/10.29, allocations: 47.97 kB / 4.815 GB, free: 17.52 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001375/10.29, allocations: 1.079 MB / 4.816 GB, free: 16.44 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003132/10.29, allocations: 1.101 MB / 4.818 GB, free: 15.34 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.medium.Xi[1],hex.ele[1].vol2.dynBal.U,hex.ele[1].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003611/10.3, allocations: 3.155 MB / 4.821 GB, free: 11.95 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00267/10.3, allocations: 2.015 MB / 4.823 GB, free: 9.93 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/10.3, allocations: 4 kB / 4.823 GB, free: 9.926 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007344/10.3, allocations: 0.6332 MB / 4.823 GB, free: 9.289 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004218/10.3, allocations: 0.8761 MB / 4.824 GB, free: 8.43 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006325/10.31, allocations: 3.669 MB / 4.828 GB, free: 4.637 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/10.31, allocations: 2.132 MB / 4.83 GB, free: 2.473 MB / 1.167 GB Notification: Performance of SimCode: time 6.82e-07/10.31, allocations: 0 / 4.83 GB, free: 2.473 MB / 1.167 GB Notification: Performance of Templates: time 0.6836/11, allocations: 56.68 MB / 4.885 GB, free: 291 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches