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") [: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/Complex 3.2.3+maint.om/package.mo): time 0.002206/0.002206, allocations: 179.9 kB / 7.458 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9404/0.9404, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0007818/0.0007818, allocations: 90.16 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.4815/0.4815, allocations: 90.35 MB / 399.4 MB, free: 12.27 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 7.314e-06/7.324e-06, allocations: 4 kB / 471.7 MB, free: 3.809 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2217, allocations: 66.25 MB / 0.5253 GB, free: 28.87 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9837/1.205, allocations: 0.7559 GB / 1.281 GB, free: 82.96 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001664/1.206, allocations: 84.88 kB / 1.281 GB, free: 82.92 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.081/3.287, allocations: 0.7985 GB / 2.08 GB, free: 75.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.137e-05/3.287, allocations: 37.17 kB / 2.08 GB, free: 75.19 MB / 0.6042 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.007142/3.294, allocations: 3.387 MB / 2.083 GB, free: 74.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/3.294, allocations: 16.55 kB / 2.083 GB, free: 74.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/3.296, allocations: 373.9 kB / 2.084 GB, free: 74.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008331/3.297, allocations: 0.6896 MB / 2.084 GB, free: 73.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/3.298, allocations: 318 kB / 2.084 GB, free: 73.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/3.298, allocations: 72.7 kB / 2.085 GB, free: 73.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001287/3.299, allocations: 0.8835 MB / 2.085 GB, free: 73.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/3.3, allocations: 1.052 MB / 2.086 GB, free: 73.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/3.3, allocations: 0 / 2.086 GB, free: 73.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/3.301, allocations: 3.281 kB / 2.086 GB, free: 73.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/3.301, allocations: 30.81 kB / 2.086 GB, free: 73.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004424/3.305, allocations: 4.712 MB / 2.091 GB, free: 71.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/3.306, allocations: 0.9285 MB / 2.092 GB, free: 71.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/3.307, allocations: 0.4888 MB / 2.092 GB, free: 71.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007758/3.308, allocations: 1.62 MB / 2.094 GB, free: 69.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/3.308, allocations: 50.94 kB / 2.094 GB, free: 69.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=112): time 2.696e-06/3.308, allocations: 2.5 kB / 2.094 GB, free: 69.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=112): time 0.004535/3.312, allocations: 1.711 MB / 2.096 GB, free: 69.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/3.312, allocations: 67.84 kB / 2.096 GB, free: 69.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/3.312, allocations: 424.4 kB / 2.096 GB, free: 69.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.009e-05/3.313, allocations: 25.7 kB / 2.096 GB, free: 69.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/3.313, allocations: 365.2 kB / 2.097 GB, free: 68.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/3.313, allocations: 367.3 kB / 2.097 GB, free: 68.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/3.313, allocations: 0 / 2.097 GB, free: 68.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.444e-05/3.313, allocations: 401.5 kB / 2.097 GB, free: 68.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/3.314, allocations: 365.9 kB / 2.098 GB, free: 68.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/3.314, allocations: 445.4 kB / 2.098 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/3.316, allocations: 0.506 MB / 2.099 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/3.316, allocations: 0 / 2.099 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00445/3.32, allocations: 1.793 MB / 2.1 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/3.32, allocations: 6.156 kB / 2.1 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/3.32, allocations: 0 / 2.1 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/3.321, allocations: 269.7 kB / 2.101 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/3.322, allocations: 301.1 kB / 2.101 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005013/3.327, allocations: 6.164 MB / 2.107 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007867/3.328, allocations: 139.2 kB / 2.107 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/3.328, allocations: 80.03 kB / 2.107 GB, free: 63.32 MB / 0.6042 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 () * 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.000169/3.328, allocations: 122 kB / 2.107 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/3.328, allocations: 90.33 kB / 2.107 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00641/3.335, allocations: 2.551 MB / 2.11 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/3.335, allocations: 15.41 kB / 2.11 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/3.335, allocations: 3.406 kB / 2.11 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/3.335, allocations: 6.797 kB / 2.11 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006154/3.341, allocations: 3.277 MB / 2.113 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/3.341, allocations: 9.781 kB / 2.113 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/3.343, allocations: 297.7 kB / 2.113 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005687/3.343, allocations: 269.4 kB / 2.114 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.771e-05/3.343, allocations: 38.16 kB / 2.114 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004915/3.348, allocations: 6.171 MB / 2.12 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/3.348, allocations: 1.938 kB / 2.12 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005194/3.353, allocations: 2.565 MB / 2.122 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/3.353, allocations: 168.2 kB / 2.122 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/3.354, allocations: 5.438 kB / 2.122 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007462/3.354, allocations: 101.2 kB / 2.122 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/3.355, allocations: 85 kB / 2.123 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/3.355, allocations: 82.39 kB / 2.123 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000244/3.355, allocations: 327.6 kB / 2.123 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002687/3.358, allocations: 1.171 MB / 2.124 GB, free: 57.08 MB / 0.6042 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * Array equations: 2 * 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.003197/3.361, allocations: 2.651 MB / 2.127 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002606/3.363, allocations: 1.792 MB / 2.128 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/3.363, allocations: 0 / 2.128 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002068/3.365, allocations: 1.394 MB / 2.13 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008135/3.366, allocations: 186.4 kB / 2.13 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/3.37, allocations: 2.048 MB / 2.132 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/3.371, allocations: 1.34 MB / 2.133 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/3.371, allocations: 3.281 kB / 2.133 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of Templates: time 0.03998/3.411, allocations: 35.76 MB / 2.168 GB, free: 52.2 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