Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.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") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.008839/0.00884, allocations: 170.9 kB / 15.11 MB, free: 5.977 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.797/1.797, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.001073/0.001073, allocations: 82.88 kB / 269.6 MB, free: 13.35 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.8549/0.8549, allocations: 90.59 MB / 408.4 MB, free: 14.95 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 12 kB / 485.2 MB, free: 2.051 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4166, allocations: 66.27 MB / 0.5386 GB, free: 45.73 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.76/2.176, allocations: 0.7567 GB / 1.295 GB, free: 146.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/2.177, allocations: 89.59 kB / 1.295 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.923/4.099, allocations: 0.532 GB / 1.827 GB, free: 65.16 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.845e-06/4.099, allocations: 0 / 1.827 GB, free: 65.16 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.665e-05/4.099, allocations: 34.66 kB / 1.827 GB, free: 65.13 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.01045/4.11, allocations: 2.746 MB / 1.83 GB, free: 62.35 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/4.11, allocations: 8.031 kB / 1.83 GB, free: 62.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/4.112, allocations: 242.5 kB / 1.83 GB, free: 62.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/4.113, allocations: 0.5592 MB / 1.831 GB, free: 61.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/4.113, allocations: 200.7 kB / 1.831 GB, free: 61.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/4.113, allocations: 88 kB / 1.831 GB, free: 61.21 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/4.115, allocations: 0.9757 MB / 1.832 GB, free: 60.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/4.115, allocations: 0 / 1.832 GB, free: 60.21 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/4.115, allocations: 39.8 kB / 1.832 GB, free: 60.18 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/4.115, allocations: 23.98 kB / 1.832 GB, free: 60.16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/4.117, allocations: 0.7807 MB / 1.833 GB, free: 59.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00439/4.121, allocations: 3.66 MB / 1.836 GB, free: 55.45 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/4.123, allocations: 0.9014 MB / 1.837 GB, free: 54.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008584/4.124, allocations: 1.138 MB / 1.838 GB, free: 53.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/4.124, allocations: 39.22 kB / 1.838 GB, free: 53.13 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=83): time 3.727e-06/4.124, allocations: 0 / 1.838 GB, free: 53.13 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.005512/4.13, allocations: 2.384 MB / 1.841 GB, free: 50.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/4.13, allocations: 60.06 kB / 1.841 GB, free: 50.56 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005193/4.13, allocations: 430.2 kB / 1.841 GB, free: 50.14 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/4.13, allocations: 41.7 kB / 1.841 GB, free: 50.09 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/4.13, allocations: 380.4 kB / 1.842 GB, free: 49.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/4.131, allocations: 278.2 kB / 1.842 GB, free: 49.44 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/4.131, allocations: 16 kB / 1.842 GB, free: 49.43 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001258/4.131, allocations: 386.8 kB / 1.842 GB, free: 49.04 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006658/4.132, allocations: 353.8 kB / 1.843 GB, free: 48.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007074/4.132, allocations: 419.1 kB / 1.843 GB, free: 48.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007083/4.133, allocations: 374.8 kB / 1.843 GB, free: 47.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/4.133, allocations: 0 / 1.843 GB, free: 47.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003012/4.136, allocations: 1.35 MB / 1.845 GB, free: 46.54 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/4.136, allocations: 4 kB / 1.845 GB, free: 46.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/4.136, allocations: 4 kB / 1.845 GB, free: 46.53 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008694/4.137, allocations: 278.2 kB / 1.845 GB, free: 46.25 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008667/4.138, allocations: 195.8 kB / 1.845 GB, free: 46.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005138/4.143, allocations: 5.126 MB / 1.85 GB, free: 40.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000911/4.144, allocations: 95.44 kB / 1.85 GB, free: 40.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/4.144, allocations: 51.98 kB / 1.85 GB, free: 40.39 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 (80): * Single equations (assignments): 75 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005082/4.145, allocations: 217.4 kB / 1.851 GB, free: 40.17 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/4.145, allocations: 75.06 kB / 1.851 GB, free: 40.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004049/4.149, allocations: 1.684 MB / 1.852 GB, free: 38.41 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/4.149, allocations: 15.98 kB / 1.852 GB, free: 38.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/4.149, allocations: 0 / 1.852 GB, free: 38.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/4.149, allocations: 3.984 kB / 1.852 GB, free: 38.39 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004696/4.154, allocations: 2.536 MB / 1.855 GB, free: 35.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/4.154, allocations: 0 / 1.855 GB, free: 35.81 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009398/4.155, allocations: 203.8 kB / 1.855 GB, free: 35.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007422/4.155, allocations: 285.9 kB / 1.855 GB, free: 35.33 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.172e-05/4.156, allocations: 35.97 kB / 1.855 GB, free: 35.29 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005035/4.161, allocations: 5.107 MB / 1.86 GB, free: 29.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/4.161, allocations: 0 / 1.86 GB, free: 29.79 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004287/4.165, allocations: 1.932 MB / 1.862 GB, free: 27.82 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/4.165, allocations: 160 kB / 1.862 GB, free: 27.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/4.165, allocations: 16 kB / 1.862 GB, free: 27.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/4.166, allocations: 67.86 kB / 1.862 GB, free: 27.56 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/4.166, allocations: 76.89 kB / 1.862 GB, free: 27.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/4.166, allocations: 59.97 kB / 1.862 GB, free: 27.43 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004459/4.167, allocations: 338.8 kB / 1.863 GB, free: 27.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.21e-07/4.167, allocations: 0 / 1.863 GB, free: 27.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004774/4.171, allocations: 0.9008 MB / 1.864 GB, free: 26.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (counterFlowNTU.inletB.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.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 (81): * Single equations (assignments): 76 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004493/4.176, allocations: 1.929 MB / 1.866 GB, free: 24.53 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003001/4.179, allocations: 1.434 MB / 1.867 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/4.179, allocations: 0 / 1.867 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/4.181, allocations: 1.079 MB / 1.868 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/4.182, allocations: 189 kB / 1.868 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/4.186, allocations: 2.496 MB / 1.871 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/4.187, allocations: 1.017 MB / 1.872 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001216/4.188, allocations: 285.2 kB / 1.872 GB, free: 17.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/4.188, allocations: 115.4 kB / 1.872 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of SimCode: time 1.032e-06/4.188, allocations: 0 / 1.872 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of Templates: time 0.05091/4.239, allocations: 33.65 MB / 1.905 GB, free: 280 kB / 0.6042 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches