Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_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-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/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_OM_adaptions_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_OM_adaptions_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.001414/0.001414, allocations: 172.1 kB / 16.12 MB, free: 5.668 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.311/1.311, 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.0007386/0.0007386, allocations: 88.91 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.6635/0.6635, allocations: 89.62 MB / 408.5 MB, free: 4.465 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 12 kB / 485.2 MB, free: 7.621 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2848, allocations: 66.01 MB / 0.5383 GB, free: 34.46 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.379/1.664, allocations: 0.7566 GB / 1.295 GB, free: 79.07 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/1.664, allocations: 93.53 kB / 1.295 GB, free: 78.99 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.032/3.696, allocations: 0.6416 GB / 1.937 GB, free: 63.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.974e-06/3.696, allocations: 0 / 1.937 GB, free: 63.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001063/3.696, allocations: 36.53 kB / 1.937 GB, free: 63.43 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.009164/3.705, allocations: 3.45 MB / 1.94 GB, free: 61.44 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/3.706, allocations: 11.03 kB / 1.94 GB, free: 61.44 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002532/3.708, allocations: 351.9 kB / 1.94 GB, free: 61.37 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/3.709, allocations: 0.7184 MB / 1.941 GB, free: 61.04 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003375/3.71, allocations: 357 kB / 1.941 GB, free: 60.79 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002968/3.71, allocations: 115.5 kB / 1.942 GB, free: 60.78 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002849/3.713, allocations: 1.403 MB / 1.943 GB, free: 60.65 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/3.713, allocations: 3.938 kB / 1.943 GB, free: 60.65 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/3.713, allocations: 43.72 kB / 1.943 GB, free: 60.65 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/3.713, allocations: 28.56 kB / 1.943 GB, free: 60.65 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002449/3.716, allocations: 1.172 MB / 1.944 GB, free: 60.63 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005912/3.721, allocations: 4.916 MB / 1.949 GB, free: 58.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/3.724, allocations: 1.329 MB / 1.95 GB, free: 58.06 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/3.725, allocations: 0.6748 MB / 1.951 GB, free: 58.05 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001928/3.727, allocations: 2.881 MB / 1.954 GB, free: 55.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/3.727, allocations: 42.28 kB / 1.954 GB, free: 55.19 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=112): time 3.376e-06/3.727, allocations: 0 / 1.954 GB, free: 55.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=112): time 0.008135/3.735, allocations: 3.521 MB / 1.957 GB, free: 54.65 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/3.735, allocations: 62.06 kB / 1.957 GB, free: 54.59 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/3.736, allocations: 0.5492 MB / 1.958 GB, free: 54.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.194e-05/3.736, allocations: 43.14 kB / 1.958 GB, free: 54.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/3.736, allocations: 473.2 kB / 1.958 GB, free: 54.22 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/3.736, allocations: 389 kB / 1.959 GB, free: 53.97 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-05/3.736, allocations: 19.28 kB / 1.959 GB, free: 53.97 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/3.737, allocations: 345.6 kB / 1.959 GB, free: 53.66 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/3.738, allocations: 0.5384 MB / 1.959 GB, free: 53.66 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/3.739, allocations: 0.6263 MB / 1.96 GB, free: 53.61 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/3.741, allocations: 1.15 MB / 1.961 GB, free: 53.55 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/3.741, allocations: 0 / 1.961 GB, free: 53.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004694/3.746, allocations: 2.113 MB / 1.963 GB, free: 53.38 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/3.746, allocations: 7.5 kB / 1.963 GB, free: 53.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/3.746, allocations: 0 / 1.963 GB, free: 53.38 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/3.747, allocations: 476.9 kB / 1.964 GB, free: 53.35 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/3.748, allocations: 290.8 kB / 1.964 GB, free: 53.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007239/3.755, allocations: 7.22 MB / 1.971 GB, free: 48.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/3.756, allocations: 158.4 kB / 1.971 GB, free: 48.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/3.757, allocations: 76.19 kB / 1.971 GB, free: 48.21 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.0005957/3.757, allocations: 242.1 kB / 1.972 GB, free: 48.08 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/3.757, allocations: 92.59 kB / 1.972 GB, free: 48.04 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005927/3.763, allocations: 2.558 MB / 1.974 GB, free: 47.89 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/3.763, allocations: 12.94 kB / 1.974 GB, free: 47.89 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/3.763, allocations: 6.875 kB / 1.974 GB, free: 47.89 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/3.763, allocations: 6.703 kB / 1.974 GB, free: 47.89 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006659/3.77, allocations: 3.66 MB / 1.978 GB, free: 47.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/3.77, allocations: 0 / 1.978 GB, free: 47.42 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/3.771, allocations: 292.4 kB / 1.978 GB, free: 47.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/3.772, allocations: 485.9 kB / 1.978 GB, free: 47.38 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/3.773, allocations: 54.11 kB / 1.979 GB, free: 47.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007095/3.78, allocations: 7.231 MB / 1.986 GB, free: 42.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/3.78, allocations: 0 / 1.986 GB, free: 42.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005971/3.786, allocations: 2.873 MB / 1.988 GB, free: 41.79 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/3.786, allocations: 182.7 kB / 1.989 GB, free: 41.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/3.786, allocations: 23.72 kB / 1.989 GB, free: 41.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000759/3.787, allocations: 110.5 kB / 1.989 GB, free: 41.58 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/3.787, allocations: 100.9 kB / 1.989 GB, free: 41.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/3.787, allocations: 79.61 kB / 1.989 GB, free: 41.56 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003896/3.788, allocations: 386.6 kB / 1.989 GB, free: 41.39 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/3.788, allocations: 7.688 kB / 1.989 GB, free: 41.38 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003446/3.791, allocations: 1.132 MB / 1.99 GB, free: 40.75 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.00511/3.796, allocations: 2.301 MB / 1.993 GB, free: 39 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004241/3.8, allocations: 2.137 MB / 1.995 GB, free: 37.06 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/3.801, allocations: 0 / 1.995 GB, free: 37.06 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002736/3.803, allocations: 1.583 MB / 1.996 GB, free: 35.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/3.805, allocations: 230.9 kB / 1.996 GB, free: 35.43 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/3.81, allocations: 3.235 MB / 2 GB, free: 32.53 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/3.811, allocations: 1.09 MB / 2.001 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001632/3.812, allocations: 367.5 kB / 2.001 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/3.813, allocations: 142.7 kB / 2.001 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of SimCode: time 8.32e-07/3.813, allocations: 0 / 2.001 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of Templates: time 0.05258/3.866, allocations: 41.96 MB / 2.042 GB, free: 9.801 MB / 0.6042 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches