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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.493/2.493, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001621/0.001621, allocations: 179 kB / 498.1 MB, free: 5.684 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.484/1.484, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0009681/0.000968, allocations: 96.33 kB / 0.9346 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003689, allocations: 12.05 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2925, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.769/5.061, allocations: 2.197 GB / 3.42 GB, free: 287.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/5.062, allocations: 98 kB / 3.42 GB, free: 287.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.154/10.22, allocations: 1.365 GB / 4.785 GB, free: 171.8 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.494e-06/10.22, allocations: 0 / 4.785 GB, free: 171.8 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004977/10.22, allocations: 66.14 kB / 4.785 GB, free: 171.8 MB / 1.182 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.01389/10.23, allocations: 3.123 MB / 4.788 GB, free: 170.5 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/10.23, allocations: 11.47 kB / 4.788 GB, free: 170.5 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004634/10.23, allocations: 0.5303 MB / 4.788 GB, free: 170.4 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008344/10.24, allocations: 2.431 MB / 4.791 GB, free: 170 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/10.24, allocations: 129.5 kB / 4.791 GB, free: 170 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000893/10.24, allocations: 174.9 kB / 4.791 GB, free: 170 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007003/10.25, allocations: 2.258 MB / 4.793 GB, free: 169.7 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/10.25, allocations: 3.969 kB / 4.793 GB, free: 169.7 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00056/10.25, allocations: 68.8 kB / 4.793 GB, free: 169.7 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/10.25, allocations: 84.48 kB / 4.794 GB, free: 169.7 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005054/10.26, allocations: 1.856 MB / 4.795 GB, free: 169.6 MB / 1.182 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01653/10.27, allocations: 10.47 MB / 4.806 GB, free: 164.4 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/10.28, allocations: 1.195 MB / 4.807 GB, free: 164.3 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/10.28, allocations: 1.208 MB / 4.808 GB, free: 163 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/10.28, allocations: 53.33 kB / 4.808 GB, free: 162.9 MB / 1.182 GB Notification: Performance of pre-optimization done (n=98): time 3.997e-06/10.28, allocations: 0 / 4.808 GB, free: 162.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=100): time 0.0079/10.28, allocations: 3.542 MB / 4.811 GB, free: 162.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/10.28, allocations: 62.22 kB / 4.811 GB, free: 162.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002856/10.29, allocations: 1.716 MB / 4.813 GB, free: 161.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001811/10.29, allocations: 45.58 kB / 4.813 GB, free: 161.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007709/10.29, allocations: 0.9801 MB / 4.814 GB, free: 161.5 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/10.29, allocations: 356.8 kB / 4.814 GB, free: 161.3 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/10.29, allocations: 24.66 kB / 4.815 GB, free: 161.3 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001236/10.29, allocations: 356 kB / 4.815 GB, free: 161 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000854/10.29, allocations: 0.5459 MB / 4.815 GB, free: 161 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/10.29, allocations: 0.933 MB / 4.816 GB, free: 160.6 MB / 1.182 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.01139/10.3, allocations: 2.79 MB / 4.819 GB, free: 160.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/10.3, allocations: 7.906 kB / 4.819 GB, free: 160.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0044/10.31, allocations: 1.646 MB / 4.821 GB, free: 160.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001349/10.31, allocations: 3.553 MB / 4.824 GB, free: 156.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/10.31, allocations: 6.875 kB / 4.824 GB, free: 156.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.728e-05/10.31, allocations: 18.16 kB / 4.824 GB, free: 156.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/10.31, allocations: 275.1 kB / 4.824 GB, free: 156.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-05/10.31, allocations: 23.52 kB / 4.824 GB, free: 156.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00314/10.31, allocations: 202.3 kB / 4.825 GB, free: 156.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002416/10.31, allocations: 57.33 kB / 4.825 GB, free: 156.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/10.31, allocations: 3.375 kB / 4.825 GB, free: 156.5 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003117/10.32, allocations: 1.449 MB / 4.826 GB, free: 156.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/10.32, allocations: 10.83 kB / 4.826 GB, free: 156.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/10.32, allocations: 15.28 kB / 4.826 GB, free: 156.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/10.32, allocations: 281.5 kB / 4.826 GB, free: 156.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-05/10.32, allocations: 21.7 kB / 4.826 GB, free: 156.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002623/10.32, allocations: 191.3 kB / 4.827 GB, free: 156.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/10.32, allocations: 64.09 kB / 4.827 GB, free: 156.4 MB / 1.182 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * 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.001976/10.32, allocations: 0.81 MB / 4.827 GB, free: 156.2 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008135/10.32, allocations: 186.8 kB / 4.828 GB, free: 156.1 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/10.33, allocations: 1.584 MB / 4.829 GB, free: 156 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/10.33, allocations: 25.78 kB / 4.829 GB, free: 156 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/10.33, allocations: 0 / 4.829 GB, free: 156 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00207/10.33, allocations: 1.52 MB / 4.831 GB, free: 155.5 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009517/10.34, allocations: 4.166 MB / 4.835 GB, free: 154.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/10.34, allocations: 7.438 kB / 4.835 GB, free: 154.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/10.34, allocations: 237.5 kB / 4.835 GB, free: 154.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.363e-05/10.34, allocations: 10.75 kB / 4.835 GB, free: 154.9 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/10.34, allocations: 35.7 kB / 4.835 GB, free: 154.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-05/10.34, allocations: 14.75 kB / 4.835 GB, free: 154.9 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/10.34, allocations: 3.75 kB / 4.835 GB, free: 154.9 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004153/10.34, allocations: 2.801 MB / 4.838 GB, free: 153.8 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/10.35, allocations: 465.3 kB / 4.838 GB, free: 153.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007748/10.35, allocations: 38.31 kB / 4.838 GB, free: 153.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/10.35, allocations: 151.2 kB / 4.838 GB, free: 153.6 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/10.35, allocations: 82.38 kB / 4.838 GB, free: 153.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/10.35, allocations: 50.78 kB / 4.839 GB, free: 153.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003092/10.35, allocations: 1.362 MB / 4.84 GB, free: 153.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.644e-05/10.35, allocations: 0 / 4.84 GB, free: 153.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006586/10.36, allocations: 1.224 MB / 4.841 GB, free: 153.4 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 101 * 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.005652/10.36, allocations: 2.882 MB / 4.844 GB, free: 152.2 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.004385/10.37, allocations: 2.086 MB / 4.846 GB, free: 152.1 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/10.37, allocations: 6.875 kB / 4.846 GB, free: 152.1 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/10.37, allocations: 0.672 MB / 4.847 GB, free: 152.1 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006597/10.38, allocations: 1.163 MB / 4.848 GB, free: 152.1 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/10.39, allocations: 5.182 MB / 4.853 GB, free: 149.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002782/10.39, allocations: 1.965 MB / 4.855 GB, free: 148.4 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.00405/10.39, allocations: 0.8183 MB / 4.855 GB, free: 148.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007905/10.4, allocations: 150.5 kB / 4.856 GB, free: 148.3 MB / 1.182 GB Notification: Performance of SimCode: time 6.82e-07/10.4, allocations: 0 / 4.856 GB, free: 148.3 MB / 1.182 GB Notification: Performance of Templates: time 0.1054/10.5, allocations: 68.92 MB / 4.923 GB, free: 97.23 MB / 1.182 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