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.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-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.01109/0.01109, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.713/1.713, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.00092/0.00092, allocations: 86.89 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8096/0.8096, allocations: 90.6 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004884, allocations: 8 kB / 485.2 MB, free: 2.082 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6515/0.652, allocations: 66.29 MB / 0.5386 GB, free: 45.52 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.034/2.686, allocations: 0.7567 GB / 1.295 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/2.686, allocations: 79.91 kB / 1.295 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.702/5.388, allocations: 0.6756 GB / 1.971 GB, free: 52.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.765e-06/5.388, allocations: 2.375 kB / 1.971 GB, free: 52.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001003/5.388, allocations: 41.8 kB / 1.971 GB, free: 52.04 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.01359/5.402, allocations: 3.464 MB / 1.974 GB, free: 50.21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/5.402, allocations: 10.19 kB / 1.974 GB, free: 50.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/5.405, allocations: 342.9 kB / 1.975 GB, free: 50.14 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/5.406, allocations: 0.6908 MB / 1.975 GB, free: 49.83 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003402/5.406, allocations: 360.9 kB / 1.976 GB, free: 49.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/5.406, allocations: 121.4 kB / 1.976 GB, free: 49.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/5.409, allocations: 1.39 MB / 1.977 GB, free: 49.44 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/5.409, allocations: 0 / 1.977 GB, free: 49.44 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/5.409, allocations: 43.22 kB / 1.977 GB, free: 49.44 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/5.409, allocations: 28.84 kB / 1.977 GB, free: 49.44 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/5.412, allocations: 1.171 MB / 1.979 GB, free: 49.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005939/5.418, allocations: 4.905 MB / 1.983 GB, free: 46.95 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/5.42, allocations: 1.322 MB / 1.985 GB, free: 46.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/5.421, allocations: 1.56 MB / 1.986 GB, free: 45.22 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/5.421, allocations: 42.88 kB / 1.986 GB, free: 45.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=112): time 3.407e-06/5.421, allocations: 2.75 kB / 1.986 GB, free: 45.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=112): time 0.009117/5.431, allocations: 3.674 MB / 1.99 GB, free: 44.46 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/5.431, allocations: 66.56 kB / 1.99 GB, free: 44.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005934/5.431, allocations: 496.5 kB / 1.99 GB, free: 44.27 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.26e-05/5.431, allocations: 46.64 kB / 1.99 GB, free: 44.24 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/5.432, allocations: 471.1 kB / 1.991 GB, free: 44.03 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/5.432, allocations: 386.8 kB / 1.991 GB, free: 43.79 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/5.432, allocations: 17.12 kB / 1.991 GB, free: 43.79 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001103/5.432, allocations: 344.3 kB / 1.991 GB, free: 43.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/5.433, allocations: 0.5302 MB / 1.992 GB, free: 43.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/5.434, allocations: 0.6328 MB / 1.993 GB, free: 43.43 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/5.436, allocations: 0.5508 MB / 1.993 GB, free: 43.41 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/5.436, allocations: 0 / 1.993 GB, free: 43.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005119/5.441, allocations: 2.114 MB / 1.995 GB, free: 43.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/5.441, allocations: 3.75 kB / 1.995 GB, free: 43.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/5.441, allocations: 7.5 kB / 1.995 GB, free: 43.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/5.442, allocations: 475.1 kB / 1.996 GB, free: 43.24 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/5.443, allocations: 280.7 kB / 1.996 GB, free: 43.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008319/5.452, allocations: 7.357 MB / 2.003 GB, free: 38.17 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/5.453, allocations: 153.4 kB / 2.003 GB, free: 38.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/5.453, allocations: 73.12 kB / 2.003 GB, free: 38.14 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.0006897/5.454, allocations: 239.9 kB / 2.004 GB, free: 38.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/5.454, allocations: 93.59 kB / 2.004 GB, free: 37.97 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006495/5.461, allocations: 2.572 MB / 2.006 GB, free: 37.84 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/5.461, allocations: 10 kB / 2.006 GB, free: 37.84 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/5.461, allocations: 3.344 kB / 2.006 GB, free: 37.84 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/5.461, allocations: 6.75 kB / 2.006 GB, free: 37.84 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007488/5.468, allocations: 3.668 MB / 2.01 GB, free: 37.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/5.468, allocations: 0 / 2.01 GB, free: 37.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/5.47, allocations: 292.2 kB / 2.01 GB, free: 37.36 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/5.471, allocations: 486.2 kB / 2.011 GB, free: 37.32 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/5.471, allocations: 49.94 kB / 2.011 GB, free: 37.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008393/5.479, allocations: 7.359 MB / 2.018 GB, free: 32.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/5.479, allocations: 0 / 2.018 GB, free: 32.24 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006585/5.486, allocations: 2.884 MB / 2.021 GB, free: 31.93 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/5.487, allocations: 179.3 kB / 2.021 GB, free: 31.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/5.487, allocations: 25.69 kB / 2.021 GB, free: 31.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008121/5.487, allocations: 114.8 kB / 2.021 GB, free: 31.75 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/5.488, allocations: 106.1 kB / 2.021 GB, free: 31.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/5.488, allocations: 83.19 kB / 2.021 GB, free: 31.74 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005171/5.488, allocations: 391.5 kB / 2.021 GB, free: 31.65 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/5.488, allocations: 0 / 2.021 GB, free: 31.65 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005777/5.494, allocations: 1.125 MB / 2.023 GB, free: 31.42 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.00589/5.5, allocations: 2.305 MB / 2.025 GB, free: 30.81 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005539/5.506, allocations: 2.135 MB / 2.027 GB, free: 30.22 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/5.506, allocations: 0 / 2.027 GB, free: 30.22 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003356/5.509, allocations: 1.583 MB / 2.028 GB, free: 29.63 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/5.511, allocations: 216.7 kB / 2.029 GB, free: 29.62 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00535/5.516, allocations: 3.233 MB / 2.032 GB, free: 28.03 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/5.517, allocations: 1.119 MB / 2.033 GB, free: 27.31 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001729/5.518, allocations: 368.6 kB / 2.033 GB, free: 27.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/5.519, allocations: 142.4 kB / 2.033 GB, free: 27.21 MB / 0.5886 GB Notification: Performance of SimCode: time 1.733e-06/5.519, allocations: 0 / 2.033 GB, free: 27.21 MB / 0.5886 GB Notification: Performance of Templates: time 0.06033/5.579, allocations: 41.43 MB / 2.074 GB, free: 6.297 MB / 0.5886 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