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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7312/0.7312, allocations: 89.61 MB / 380.6 MB, free: 11.45 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 16.39 kB / 459.9 MB, free: 24.4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1627, allocations: 68.82 MB / 0.5163 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5068/0.6695, allocations: 167.1 MB / 0.6795 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01998/0.6895, allocations: 14.47 MB / 0.6936 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.6918, allocations: 23.88 kB / 0.6936 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002468/0.6943, allocations: 0.4899 MB / 0.6941 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005989/0.7003, allocations: 1.519 MB / 0.6956 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006127/0.7065, allocations: 1.303 MB / 0.6969 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003228/0.7098, allocations: 1.022 MB / 0.6979 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005891/0.7104, allocations: 230.3 kB / 0.6981 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/0.7129, allocations: 0.8922 MB / 0.699 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006657/0.7136, allocations: 481.8 kB / 0.6994 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.476e-05/0.7137, allocations: 48 kB / 0.6995 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007797/0.7215, allocations: 3.328 MB / 0.7027 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003822/0.7219, allocations: 183.2 kB / 0.7029 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004146/0.7223, allocations: 221.1 kB / 0.7031 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003338/0.7257, allocations: 1.481 MB / 0.7045 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.7257, allocations: 3.938 kB / 0.7046 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7257, allocations: 0 / 0.7046 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.7257, allocations: 0 / 0.7046 GB, free: 9.527 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003191/0.7289, allocations: 1.481 MB / 0.706 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.729, allocations: 12.03 kB / 0.706 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.731, allocations: 262.3 kB / 0.7063 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.7322, allocations: 0.5994 MB / 0.7068 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/0.7324, allocations: 204.7 kB / 0.707 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.7326, allocations: 95.91 kB / 0.7071 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.7345, allocations: 1.02 MB / 0.7081 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.7346, allocations: 4 kB / 0.7081 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-05/0.7347, allocations: 36 kB / 0.7082 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.7347, allocations: 20 kB / 0.7082 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.7363, allocations: 0.8003 MB / 0.709 GB, free: 4.859 MB / 0.5137 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.005383/0.7417, allocations: 4.094 MB / 0.713 GB, free: 428 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.7437, allocations: 0.9085 MB / 0.7139 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.7449, allocations: 1.299 MB / 0.7151 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.7449, allocations: 43.17 kB / 0.7152 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=80): time 3.867e-06/0.7449, allocations: 0 / 0.7152 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=80): time 0.005434/0.7504, allocations: 2.101 MB / 0.7172 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.7504, allocations: 64.06 kB / 0.7173 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008466/0.7513, allocations: 0.606 MB / 0.7179 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.391e-05/0.7514, allocations: 41.7 kB / 0.7179 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.7517, allocations: 428.1 kB / 0.7183 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/0.7521, allocations: 279.8 kB / 0.7186 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.7521, allocations: 16 kB / 0.7186 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.7523, allocations: 333.9 kB / 0.7189 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008125/0.7532, allocations: 333.8 kB / 0.7192 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008553/0.754, allocations: 411 kB / 0.7196 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008728/0.7549, allocations: 354.9 kB / 0.72 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.7549, allocations: 0 / 0.72 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003658/0.7586, allocations: 1.326 MB / 0.7213 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.7586, allocations: 4 kB / 0.7213 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.7587, allocations: 0 / 0.7213 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.7598, allocations: 286.4 kB / 0.7215 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.7608, allocations: 203.8 kB / 0.7217 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006512/0.7674, allocations: 5.111 MB / 0.7267 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009182/0.7683, allocations: 112 kB / 0.7268 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.7685, allocations: 51.92 kB / 0.7269 GB, free: 1.305 MB / 0.5294 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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005127/0.769, allocations: 225.6 kB / 0.7271 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.7693, allocations: 83.34 kB / 0.7272 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004784/0.7741, allocations: 1.939 MB / 0.7291 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.7741, allocations: 15.94 kB / 0.7291 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.7741, allocations: 3.984 kB / 0.7291 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.7742, allocations: 3.984 kB / 0.7291 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00579/0.78, allocations: 2.562 MB / 0.7316 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.78, allocations: 3.938 kB / 0.7316 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009886/0.781, allocations: 195.9 kB / 0.7318 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000922/0.7819, allocations: 286.3 kB / 0.7321 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.7821, allocations: 35.98 kB / 0.7321 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00713/0.7892, allocations: 5.123 MB / 0.7371 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.7893, allocations: 4.031 kB / 0.7371 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004765/0.794, allocations: 1.876 MB / 0.7389 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006609/0.7947, allocations: 247.8 kB / 0.7392 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/0.795, allocations: 16 kB / 0.7392 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007561/0.7958, allocations: 75.92 kB / 0.7393 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.796, allocations: 68.91 kB / 0.7393 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.7961, allocations: 51.97 kB / 0.7394 GB, free: 3.875 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006823/0.7968, allocations: 443 kB / 0.7398 GB, free: 3.449 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7968, allocations: 0 / 0.7398 GB, free: 3.449 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001874/0.7987, allocations: 471.2 kB / 0.7402 GB, free: 2.988 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,mCV.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 (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001677/0.8003, allocations: 0.5911 MB / 0.7408 GB, free: 2.391 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003094/0.8034, allocations: 1.325 MB / 0.7421 GB, free: 1.031 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.8035, allocations: 0 / 0.7421 GB, free: 1.031 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.8054, allocations: 0.9781 MB / 0.7431 GB, free: 12 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.8067, allocations: 211.3 kB / 0.7433 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/0.8116, allocations: 2.617 MB / 0.7458 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/0.8124, allocations: 1.033 MB / 0.7468 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001661/0.814, allocations: 0.6218 MB / 0.7474 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/0.8145, allocations: 131.4 kB / 0.7476 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of SimCode: time 7.22e-07/0.8145, allocations: 0 / 0.7476 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.03257/0.8471, allocations: 17.98 MB / 0.7651 GB, free: 9.453 MB / 0.5762 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