Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo) 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) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 170.1 kB / 16.11 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.4 MB / 222.3 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000948/0.0009479, allocations: 100.3 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.7924/0.7924, allocations: 89.58 MB / 408.5 MB, free: 4.512 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003953, allocations: 12.22 kB / 485.2 MB, free: 7.656 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3584, allocations: 66 MB / 0.5383 GB, free: 34.46 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.66/2.018, allocations: 0.7566 GB / 1.295 GB, free: 78.92 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/2.019, allocations: 87.95 kB / 1.295 GB, free: 78.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.465/4.484, allocations: 0.6416 GB / 1.937 GB, free: 63.46 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.154e-06/4.484, allocations: 0 / 1.937 GB, free: 63.46 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.96e-05/4.484, allocations: 36.95 kB / 1.937 GB, free: 63.45 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.01051/4.494, allocations: 3.454 MB / 1.94 GB, free: 61.46 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/4.494, allocations: 9.438 kB / 1.94 GB, free: 61.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/4.497, allocations: 345.7 kB / 1.94 GB, free: 61.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/4.498, allocations: 0.7207 MB / 1.941 GB, free: 61.04 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003162/4.498, allocations: 356.3 kB / 1.941 GB, free: 60.78 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/4.499, allocations: 123.5 kB / 1.941 GB, free: 60.78 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/4.501, allocations: 1.398 MB / 1.943 GB, free: 60.64 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/4.501, allocations: 3.938 kB / 1.943 GB, free: 60.64 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/4.501, allocations: 41.97 kB / 1.943 GB, free: 60.64 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/4.501, allocations: 31.91 kB / 1.943 GB, free: 60.64 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/4.504, allocations: 1.167 MB / 1.944 GB, free: 60.62 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005668/4.509, allocations: 4.923 MB / 1.949 GB, free: 58.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/4.512, allocations: 1.319 MB / 1.95 GB, free: 58.03 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/4.513, allocations: 0.6754 MB / 1.951 GB, free: 58.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002019/4.515, allocations: 2.878 MB / 1.954 GB, free: 55.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/4.515, allocations: 49.56 kB / 1.954 GB, free: 55.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=112): time 4.148e-06/4.515, allocations: 0 / 1.954 GB, free: 55.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=112): time 0.008404/4.523, allocations: 3.515 MB / 1.957 GB, free: 54.62 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/4.523, allocations: 63.44 kB / 1.957 GB, free: 54.56 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000717/4.524, allocations: 0.5555 MB / 1.958 GB, free: 54.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/4.524, allocations: 47.83 kB / 1.958 GB, free: 54.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/4.525, allocations: 469.6 kB / 1.958 GB, free: 54.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/4.525, allocations: 390.5 kB / 1.959 GB, free: 53.94 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/4.525, allocations: 17.06 kB / 1.959 GB, free: 53.94 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001079/4.525, allocations: 350.3 kB / 1.959 GB, free: 53.63 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/4.526, allocations: 0.535 MB / 1.959 GB, free: 53.62 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/4.527, allocations: 0.6222 MB / 1.96 GB, free: 53.58 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/4.529, allocations: 1.147 MB / 1.961 GB, free: 53.52 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/4.529, allocations: 0 / 1.961 GB, free: 53.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004929/4.534, allocations: 2.121 MB / 1.963 GB, free: 53.35 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/4.534, allocations: 10.5 kB / 1.963 GB, free: 53.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/4.534, allocations: 3.75 kB / 1.963 GB, free: 53.35 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/4.536, allocations: 474.8 kB / 1.964 GB, free: 53.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/4.537, allocations: 288.2 kB / 1.964 GB, free: 53.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007944/4.545, allocations: 7.223 MB / 1.971 GB, free: 48.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/4.546, allocations: 159.6 kB / 1.971 GB, free: 48.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/4.546, allocations: 73.53 kB / 1.971 GB, free: 48.18 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 1,(3,88.9%) 1,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006839/4.547, allocations: 244.5 kB / 1.971 GB, free: 48.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/4.547, allocations: 93 kB / 1.972 GB, free: 48 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00618/4.553, allocations: 2.553 MB / 1.974 GB, free: 47.86 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/4.554, allocations: 11.53 kB / 1.974 GB, free: 47.86 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/4.554, allocations: 5.094 kB / 1.974 GB, free: 47.86 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/4.554, allocations: 6.328 kB / 1.974 GB, free: 47.86 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007239/4.561, allocations: 3.67 MB / 1.978 GB, free: 47.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/4.561, allocations: 0 / 1.978 GB, free: 47.39 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/4.562, allocations: 295.3 kB / 1.978 GB, free: 47.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/4.563, allocations: 486.3 kB / 1.978 GB, free: 47.34 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/4.564, allocations: 54.12 kB / 1.978 GB, free: 47.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007938/4.571, allocations: 7.226 MB / 1.986 GB, free: 42.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/4.572, allocations: 0 / 1.986 GB, free: 42.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006607/4.578, allocations: 2.875 MB / 1.988 GB, free: 41.68 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/4.579, allocations: 173.1 kB / 1.989 GB, free: 41.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/4.579, allocations: 30.28 kB / 1.989 GB, free: 41.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007086/4.579, allocations: 111 kB / 1.989 GB, free: 41.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/4.58, allocations: 99.39 kB / 1.989 GB, free: 41.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/4.58, allocations: 82.5 kB / 1.989 GB, free: 41.46 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004478/4.58, allocations: 386.3 kB / 1.989 GB, free: 41.28 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/4.58, allocations: 3.938 kB / 1.989 GB, free: 41.28 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004194/4.584, allocations: 1.125 MB / 1.99 GB, free: 40.67 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.inletB.m_flow,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * 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: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(3,88.9%) 1,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004478/4.589, allocations: 2.302 MB / 1.993 GB, free: 38.92 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004183/4.593, allocations: 2.139 MB / 1.995 GB, free: 36.98 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/4.593, allocations: 0 / 1.995 GB, free: 36.98 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002728/4.596, allocations: 1.572 MB / 1.996 GB, free: 35.53 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/4.597, allocations: 238.5 kB / 1.996 GB, free: 35.36 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/4.603, allocations: 3.242 MB / 2 GB, free: 32.45 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/4.604, allocations: 1.088 MB / 2.001 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00191/4.606, allocations: 363.1 kB / 2.001 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004597/4.606, allocations: 143.6 kB / 2.001 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of SimCode: time 1.022e-06/4.606, allocations: 0 / 2.001 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.06125/4.668, allocations: 41.97 MB / 2.042 GB, free: 9.75 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches