Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/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.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 172 kB / 16.11 MB, free: 5.578 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.522/1.522, allocations: 205.4 MB / 222.3 MB, free: 9.012 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.0007774/0.0007777, allocations: 96.62 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.7841/0.7841, allocations: 89.58 MB / 408.5 MB, free: 4.496 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003821, allocations: 12.22 kB / 485.2 MB, free: 7.645 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4033, allocations: 66.01 MB / 0.5383 GB, free: 34.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.666/2.07, allocations: 0.7565 GB / 1.295 GB, free: 79.02 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/2.07, allocations: 87.94 kB / 1.295 GB, free: 78.94 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.856/3.926, allocations: 0.5054 GB / 1.8 GB, free: 32.87 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.38e-06/3.926, allocations: 0 / 1.8 GB, free: 32.87 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001696/3.926, allocations: 31.98 kB / 1.8 GB, free: 32.84 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.01253/3.939, allocations: 2.734 MB / 1.803 GB, free: 30.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/3.939, allocations: 12.03 kB / 1.803 GB, free: 30.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002984/3.942, allocations: 243.4 kB / 1.803 GB, free: 29.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/3.944, allocations: 0.581 MB / 1.804 GB, free: 29.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/3.944, allocations: 202.3 kB / 1.804 GB, free: 28.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004395/3.944, allocations: 84 kB / 1.804 GB, free: 28.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003455/3.948, allocations: 0.9874 MB / 1.805 GB, free: 27.87 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/3.948, allocations: 3.938 kB / 1.805 GB, free: 27.86 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/3.948, allocations: 39.94 kB / 1.805 GB, free: 27.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/3.948, allocations: 20 kB / 1.805 GB, free: 27.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/3.951, allocations: 0.7807 MB / 1.806 GB, free: 27.02 MB / 0.5886 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/3.957, allocations: 3.643 MB / 1.809 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002567/3.96, allocations: 0.8941 MB / 1.81 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/3.961, allocations: 459.8 kB / 1.811 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002015/3.963, allocations: 2.123 MB / 1.813 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/3.963, allocations: 43.16 kB / 1.813 GB, free: 19.15 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=83): time 5.34e-06/3.963, allocations: 0 / 1.813 GB, free: 19.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=83): time 0.007707/3.971, allocations: 2.213 MB / 1.815 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/3.971, allocations: 60.06 kB / 1.815 GB, free: 16.79 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008698/3.972, allocations: 495.2 kB / 1.816 GB, free: 16.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.794e-05/3.972, allocations: 37.7 kB / 1.816 GB, free: 16.25 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/3.972, allocations: 380.3 kB / 1.816 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/3.973, allocations: 283.8 kB / 1.816 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/3.973, allocations: 12 kB / 1.816 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001452/3.973, allocations: 386.7 kB / 1.817 GB, free: 15.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009473/3.974, allocations: 349.8 kB / 1.817 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009949/3.975, allocations: 431 kB / 1.817 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/3.977, allocations: 0.761 MB / 1.818 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/3.977, allocations: 0 / 1.818 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003982/3.981, allocations: 1.342 MB / 1.819 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/3.981, allocations: 8.125 kB / 1.819 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/3.981, allocations: 4 kB / 1.819 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008341/3.982, allocations: 278.3 kB / 1.82 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008183/3.983, allocations: 195.8 kB / 1.82 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004709/3.987, allocations: 5.029 MB / 1.825 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007593/3.988, allocations: 107.3 kB / 1.825 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/3.988, allocations: 55.98 kB / 1.825 GB, free: 6.211 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.0004933/3.989, allocations: 201.7 kB / 1.825 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/3.989, allocations: 83.08 kB / 1.825 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/3.993, allocations: 1.692 MB / 1.827 GB, free: 4.211 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/3.993, allocations: 8 kB / 1.827 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.118e-06/3.993, allocations: 4 kB / 1.827 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/3.993, allocations: 3.984 kB / 1.827 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004754/3.998, allocations: 2.546 MB / 1.829 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/3.998, allocations: 3.938 kB / 1.829 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00091/3.999, allocations: 203.8 kB / 1.83 GB, free: 1.371 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007699/4, allocations: 286.3 kB / 1.83 GB, free: 1.082 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/4, allocations: 39.97 kB / 1.83 GB, free: 1.043 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5011/4.501, allocations: 5.02 MB / 1.835 GB, free: 74.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/4.501, allocations: 7.781 kB / 1.835 GB, free: 74.24 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004113/4.505, allocations: 1.908 MB / 1.837 GB, free: 74.05 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/4.505, allocations: 250.2 kB / 1.837 GB, free: 73.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/4.505, allocations: 21 kB / 1.837 GB, free: 73.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004955/4.506, allocations: 61.55 kB / 1.837 GB, free: 73.96 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/4.506, allocations: 77.72 kB / 1.837 GB, free: 73.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000188/4.506, allocations: 64.2 kB / 1.837 GB, free: 73.95 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000459/4.507, allocations: 342.2 kB / 1.837 GB, free: 73.86 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/4.507, allocations: 3.188 kB / 1.837 GB, free: 73.86 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003771/4.511, allocations: 0.8973 MB / 1.838 GB, free: 73.86 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,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 (83): * Single equations (assignments): 78 * 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.004422/4.515, allocations: 1.913 MB / 1.84 GB, free: 73.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003474/4.519, allocations: 1.448 MB / 1.842 GB, free: 73.16 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/4.519, allocations: 0 / 1.842 GB, free: 73.16 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002011/4.521, allocations: 1.068 MB / 1.843 GB, free: 72.75 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/4.522, allocations: 198.2 kB / 1.843 GB, free: 72.74 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/4.526, allocations: 2.509 MB / 1.845 GB, free: 71.75 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/4.527, allocations: 1 MB / 1.846 GB, free: 71.05 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001273/4.528, allocations: 273.1 kB / 1.847 GB, free: 71.04 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/4.529, allocations: 115.2 kB / 1.847 GB, free: 71.04 MB / 0.5886 GB Notification: Performance of SimCode: time 2.544e-06/4.529, allocations: 1.969 kB / 1.847 GB, free: 71.04 MB / 0.5886 GB Notification: Performance of Templates: time 0.05463/4.583, allocations: 34.27 MB / 1.88 GB, free: 70.12 MB / 0.5886 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches