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.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,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.0008369/0.0008369, allocations: 178.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.252/1.252, allocations: 205.4 MB / 222.3 MB, free: 8.949 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.0007565/0.0007565, allocations: 88.42 kB / 270.6 MB, free: 8.234 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.6728/0.6728, allocations: 89.62 MB / 408.5 MB, free: 4.477 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003213, allocations: 12.22 kB / 485.2 MB, free: 7.613 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2609, allocations: 65.99 MB / 0.5383 GB, free: 34.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.377/1.638, allocations: 0.7565 GB / 1.295 GB, free: 78.97 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.639, allocations: 87.94 kB / 1.295 GB, free: 78.89 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.54/3.179, allocations: 0.5054 GB / 1.8 GB, free: 32.66 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.733e-06/3.179, allocations: 0 / 1.8 GB, free: 32.66 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.871e-05/3.179, allocations: 27.98 kB / 1.8 GB, free: 32.64 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.006667/3.185, allocations: 2.73 MB / 1.803 GB, free: 29.85 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/3.185, allocations: 8.031 kB / 1.803 GB, free: 29.84 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/3.187, allocations: 243.5 kB / 1.803 GB, free: 29.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007379/3.188, allocations: 0.5926 MB / 1.804 GB, free: 28.97 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/3.188, allocations: 202.3 kB / 1.804 GB, free: 28.75 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/3.188, allocations: 84 kB / 1.804 GB, free: 28.66 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/3.19, allocations: 0.9797 MB / 1.805 GB, free: 27.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/3.19, allocations: 11.88 kB / 1.805 GB, free: 27.65 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.877e-05/3.19, allocations: 32 kB / 1.805 GB, free: 27.62 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/3.19, allocations: 20 kB / 1.805 GB, free: 27.6 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/3.191, allocations: 0.7846 MB / 1.806 GB, free: 26.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003289/3.194, allocations: 3.666 MB / 1.809 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/3.196, allocations: 0.902 MB / 1.81 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006648/3.196, allocations: 455.9 kB / 1.811 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/3.198, allocations: 2.123 MB / 1.813 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/3.198, allocations: 43.22 kB / 1.813 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=83): time 3.015e-06/3.198, allocations: 0 / 1.813 GB, free: 18.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.004648/3.202, allocations: 2.224 MB / 1.815 GB, free: 16.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/3.202, allocations: 64 kB / 1.815 GB, free: 16.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/3.203, allocations: 491.2 kB / 1.816 GB, free: 16.05 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/3.203, allocations: 37.7 kB / 1.816 GB, free: 16 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/3.203, allocations: 388.2 kB / 1.816 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/3.203, allocations: 279.8 kB / 1.816 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/3.203, allocations: 16 kB / 1.816 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.06e-05/3.203, allocations: 390.6 kB / 1.817 GB, free: 14.93 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006029/3.204, allocations: 345.8 kB / 1.817 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006012/3.205, allocations: 431.1 kB / 1.817 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/3.206, allocations: 0.7689 MB / 1.818 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/3.206, allocations: 0 / 1.818 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002578/3.208, allocations: 1.35 MB / 1.819 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/3.208, allocations: 8.125 kB / 1.819 GB, free: 12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/3.208, allocations: 7.984 kB / 1.819 GB, free: 12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006941/3.209, allocations: 270.4 kB / 1.82 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/3.21, allocations: 195.8 kB / 1.82 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004146/3.214, allocations: 5.032 MB / 1.825 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/3.215, allocations: 103.3 kB / 1.825 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-05/3.215, allocations: 56.22 kB / 1.825 GB, free: 5.934 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.0003701/3.215, allocations: 213.9 kB / 1.825 GB, free: 5.715 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/3.215, allocations: 79.03 kB / 1.825 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00347/3.219, allocations: 1.687 MB / 1.827 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/3.219, allocations: 12 kB / 1.827 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/3.219, allocations: 0 / 1.827 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/3.219, allocations: 11.97 kB / 1.827 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003916/3.223, allocations: 2.534 MB / 1.829 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/3.223, allocations: 8.047 kB / 1.829 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008045/3.224, allocations: 203.7 kB / 1.83 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006317/3.224, allocations: 274.4 kB / 1.83 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/3.224, allocations: 47.91 kB / 1.83 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2914/3.516, allocations: 5.031 MB / 1.835 GB, free: 73.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/3.516, allocations: 3.844 kB / 1.835 GB, free: 73.55 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003862/3.52, allocations: 1.896 MB / 1.837 GB, free: 73.37 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/3.52, allocations: 156.1 kB / 1.837 GB, free: 73.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/3.52, allocations: 20.03 kB / 1.837 GB, free: 73.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/3.521, allocations: 64.92 kB / 1.837 GB, free: 73.28 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/3.521, allocations: 81.67 kB / 1.837 GB, free: 73.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/3.521, allocations: 59.72 kB / 1.837 GB, free: 73.27 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004447/3.521, allocations: 333.1 kB / 1.837 GB, free: 73.18 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/3.521, allocations: 0.8125 kB / 1.837 GB, free: 73.18 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002976/3.524, allocations: 0.8993 MB / 1.838 GB, free: 73.18 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.003904/3.528, allocations: 1.923 MB / 1.84 GB, free: 72.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002675/3.531, allocations: 1.443 MB / 1.842 GB, free: 72.48 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/3.531, allocations: 2.844 kB / 1.842 GB, free: 72.48 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/3.533, allocations: 1.064 MB / 1.843 GB, free: 72.07 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/3.534, allocations: 202.2 kB / 1.843 GB, free: 72.07 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/3.537, allocations: 2.494 MB / 1.845 GB, free: 71.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/3.538, allocations: 0.9991 MB / 1.846 GB, free: 70.39 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001222/3.539, allocations: 276.1 kB / 1.846 GB, free: 70.38 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/3.54, allocations: 109.8 kB / 1.847 GB, free: 70.38 MB / 0.5886 GB Notification: Performance of SimCode: time 1.513e-06/3.54, allocations: 3.062 kB / 1.847 GB, free: 70.38 MB / 0.5886 GB Notification: Performance of Templates: time 0.04695/3.587, allocations: 34.14 MB / 1.88 GB, free: 69.46 MB / 0.5886 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