Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.956/1.956, allocations: 390.4 MB / 397.7 MB, free: 11.32 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.001104/0.001104, allocations: 181.3 kB / 490.8 MB, free: 2 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.361/1.361, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.001029/0.001029, allocations: 79.2 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.306e-06/8.346e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3173, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.258/5.575, allocations: 2.197 GB / 3.409 GB, free: 110.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/5.575, allocations: 87.08 kB / 3.409 GB, free: 110.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.579/10.15, allocations: 1.364 GB / 4.772 GB, free: 48.32 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003613/10.16, allocations: 69.11 kB / 4.772 GB, free: 48.25 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.01/10.17, allocations: 2.694 MB / 4.775 GB, free: 45.51 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/10.17, allocations: 9.016 kB / 4.775 GB, free: 45.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004649/10.17, allocations: 0.5433 MB / 4.776 GB, free: 44.96 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006993/10.18, allocations: 2.45 MB / 4.778 GB, free: 42.46 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.765e-05/10.18, allocations: 52 kB / 4.778 GB, free: 42.41 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005361/10.18, allocations: 100 kB / 4.778 GB, free: 42.31 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003509/10.18, allocations: 1.697 MB / 4.78 GB, free: 40.61 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003781/10.18, allocations: 2.021 MB / 4.782 GB, free: 38.49 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-05/10.19, allocations: 4 kB / 4.782 GB, free: 38.49 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/10.19, allocations: 4 kB / 4.782 GB, free: 38.48 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-05/10.19, allocations: 87.17 kB / 4.782 GB, free: 38.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01289/10.2, allocations: 10.87 MB / 4.793 GB, free: 26.91 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/10.2, allocations: 0.7665 MB / 4.793 GB, free: 26.13 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007439/10.2, allocations: 0.6522 MB / 4.794 GB, free: 25.48 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/10.2, allocations: 1.457 MB / 4.795 GB, free: 23.71 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/10.2, allocations: 43.56 kB / 4.795 GB, free: 23.66 MB / 1.167 GB Notification: Performance of pre-optimization done (n=99): time 3.256e-06/10.2, allocations: 0 / 4.795 GB, free: 23.66 MB / 1.167 GB Notification: Performance of matching and sorting (n=101): time 0.007504/10.21, allocations: 3.062 MB / 4.798 GB, free: 20.54 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/10.21, allocations: 64.41 kB / 4.798 GB, free: 20.47 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/10.21, allocations: 1.407 MB / 4.8 GB, free: 19.06 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/10.21, allocations: 29.7 kB / 4.8 GB, free: 19.02 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/10.21, allocations: 0.706 MB / 4.801 GB, free: 18.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/10.21, allocations: 350.8 kB / 4.801 GB, free: 17.96 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/10.21, allocations: 4 kB / 4.801 GB, free: 17.95 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.092e-05/10.21, allocations: 349.9 kB / 4.801 GB, free: 17.61 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006022/10.21, allocations: 0.514 MB / 4.802 GB, free: 17.09 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007417/10.21, allocations: 0.893 MB / 4.803 GB, free: 16.04 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.005561/10.22, allocations: 2.057 MB / 4.805 GB, free: 13.96 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/10.22, allocations: 4 kB / 4.805 GB, free: 13.96 MB / 1.167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002609/10.22, allocations: 1.564 MB / 4.806 GB, free: 12.39 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006933/10.22, allocations: 3.668 MB / 4.81 GB, free: 8.395 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/10.22, allocations: 8 kB / 4.81 GB, free: 8.387 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.504e-05/10.22, allocations: 23.89 kB / 4.81 GB, free: 8.363 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/10.22, allocations: 283.5 kB / 4.81 GB, free: 8.086 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.411e-05/10.22, allocations: 23.92 kB / 4.81 GB, free: 8.062 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/10.23, allocations: 155.7 kB / 4.81 GB, free: 7.91 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/10.23, allocations: 55.97 kB / 4.81 GB, free: 7.855 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/10.23, allocations: 4 kB / 4.81 GB, free: 7.852 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002096/10.23, allocations: 1.353 MB / 4.812 GB, free: 6.496 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/10.23, allocations: 14.19 kB / 4.812 GB, free: 6.484 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/10.23, allocations: 19.91 kB / 4.812 GB, free: 6.465 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/10.23, allocations: 271.6 kB / 4.812 GB, free: 6.199 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/10.23, allocations: 19.94 kB / 4.812 GB, free: 6.18 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/10.23, allocations: 151.9 kB / 4.812 GB, free: 6.031 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/10.23, allocations: 59.98 kB / 4.812 GB, free: 5.973 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.0002735/10.23, allocations: 154.7 kB / 4.812 GB, free: 5.816 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004371/10.23, allocations: 169.9 kB / 4.812 GB, free: 5.648 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/10.23, allocations: 1.529 MB / 4.814 GB, free: 4.105 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/10.23, allocations: 12 kB / 4.814 GB, free: 4.094 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/10.23, allocations: 0 / 4.814 GB, free: 4.094 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001721/10.24, allocations: 1.474 MB / 4.815 GB, free: 2.535 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007295/10.24, allocations: 3.797 MB / 4.819 GB, free: 14.61 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/10.24, allocations: 7.906 kB / 4.819 GB, free: 14.61 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/10.24, allocations: 223.7 kB / 4.819 GB, free: 14.39 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.198e-05/10.24, allocations: 12 kB / 4.819 GB, free: 14.38 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.182e-05/10.24, allocations: 19.98 kB / 4.819 GB, free: 14.36 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.535e-05/10.24, allocations: 19.92 kB / 4.819 GB, free: 14.34 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/10.24, allocations: 4.094 kB / 4.819 GB, free: 14.33 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003788/10.25, allocations: 2.657 MB / 4.822 GB, free: 11.41 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/10.25, allocations: 434.8 kB / 4.822 GB, free: 10.97 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005136/10.25, allocations: 15.98 kB / 4.822 GB, free: 10.95 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/10.25, allocations: 123.7 kB / 4.822 GB, free: 10.83 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/10.25, allocations: 72.53 kB / 4.822 GB, free: 10.76 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/10.25, allocations: 39.98 kB / 4.823 GB, free: 10.72 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.002638/10.25, allocations: 1.087 MB / 4.824 GB, free: 9.637 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005727/10.26, allocations: 1.107 MB / 4.825 GB, free: 8.531 MB / 1.182 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.006349/10.27, allocations: 3.144 MB / 4.828 GB, free: 5.156 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003898/10.27, allocations: 2.019 MB / 4.83 GB, free: 3.141 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/10.27, allocations: 4 kB / 4.83 GB, free: 3.137 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/10.27, allocations: 0.6322 MB / 4.83 GB, free: 2.508 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004892/10.28, allocations: 0.8838 MB / 4.831 GB, free: 1.645 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008687/10.29, allocations: 3.658 MB / 4.835 GB, free: 13.85 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003149/10.29, allocations: 2.139 MB / 4.837 GB, free: 11.68 MB / 1.198 GB Notification: Performance of SimCode: time 7.32e-07/10.29, allocations: 0 / 4.837 GB, free: 11.68 MB / 1.198 GB Notification: Performance of Templates: time 0.7244/11.01, allocations: 56.67 MB / 4.892 GB, free: 284.2 MB / 1.198 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Validation_WetCoilCounterFlowLowWaterFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.WetCoilCounterFlowLowWaterFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches