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 (/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.0009642/0.0009643, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 175.1 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6083/0.6083, allocations: 89.65 MB / 381.7 MB, free: 11.26 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005146/0.0005147, allocations: 11.06 kB / 461.3 MB, free: 24.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1068, allocations: 68.83 MB / 0.5177 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4432/0.55, allocations: 209.8 MB / 0.7226 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01885/0.5689, allocations: 17.24 MB / 0.7394 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.57, allocations: 23.88 kB / 0.7395 GB, free: 8.219 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.5714, allocations: 0.5285 MB / 0.74 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004237/0.5757, allocations: 1.501 MB / 0.7414 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003869/0.5796, allocations: 1.434 MB / 0.7428 GB, free: 4.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002108/0.5817, allocations: 1.751 MB / 0.7446 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000444/0.5822, allocations: 266.7 kB / 0.7448 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.5842, allocations: 1.055 MB / 0.7458 GB, free: 1.656 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005992/0.5848, allocations: 0.5481 MB / 0.7464 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.47e-05/0.5849, allocations: 51.98 kB / 0.7464 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006129/0.5911, allocations: 3.56 MB / 0.7499 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.5913, allocations: 187 kB / 0.7501 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005696/0.5919, allocations: 0.5339 MB / 0.7506 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002511/0.5944, allocations: 1.547 MB / 0.7521 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5945, allocations: 0 / 0.7521 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.986e-06/0.5945, allocations: 3.984 kB / 0.7521 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.5945, allocations: 0 / 0.7521 GB, free: 11.21 MB / 0.5606 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.002871/0.5974, allocations: 1.473 MB / 0.7536 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5974, allocations: 12.03 kB / 0.7536 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.5994, allocations: 274.3 kB / 0.7538 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009597/0.6004, allocations: 0.6214 MB / 0.7544 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002467/0.6006, allocations: 200.8 kB / 0.7546 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.6008, allocations: 88 kB / 0.7547 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.6027, allocations: 1.036 MB / 0.7557 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.6027, allocations: 4 kB / 0.7557 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/0.6028, allocations: 36 kB / 0.7558 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.6029, allocations: 23.94 kB / 0.7558 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.6045, allocations: 0.8197 MB / 0.7566 GB, free: 6.484 MB / 0.5606 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.005093/0.6096, allocations: 4.083 MB / 0.7606 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.6116, allocations: 0.898 MB / 0.7615 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000837/0.6125, allocations: 455.2 kB / 0.7619 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008324/0.6133, allocations: 1.311 MB / 0.7632 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.6134, allocations: 39.22 kB / 0.7632 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 5.299e-06/0.6134, allocations: 0 / 0.7632 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005646/0.619, allocations: 2.122 MB / 0.7653 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.6191, allocations: 60.06 kB / 0.7653 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007364/0.6198, allocations: 0.61 MB / 0.7659 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.13e-05/0.6199, allocations: 41.7 kB / 0.766 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.6202, allocations: 424.1 kB / 0.7664 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.6204, allocations: 279.9 kB / 0.7666 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.6206, allocations: 61.69 kB / 0.7667 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6207, allocations: 337.9 kB / 0.767 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007421/0.6214, allocations: 333.8 kB / 0.7673 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007837/0.6222, allocations: 411.1 kB / 0.7677 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.6238, allocations: 0.7408 MB / 0.7685 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.6238, allocations: 0 / 0.7685 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003333/0.6271, allocations: 1.33 MB / 0.7698 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.6272, allocations: 4 kB / 0.7698 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.6272, allocations: 4 kB / 0.7698 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009016/0.6281, allocations: 282.4 kB / 0.77 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009762/0.6291, allocations: 215.6 kB / 0.7702 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005835/0.6349, allocations: 5.044 MB / 0.7752 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008314/0.6358, allocations: 115.2 kB / 0.7753 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.6359, allocations: 51.98 kB / 0.7753 GB, free: 2.066 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003702/0.6363, allocations: 205.7 kB / 0.7755 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.6364, allocations: 82.97 kB / 0.7756 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004492/0.6409, allocations: 1.935 MB / 0.7775 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.6409, allocations: 8 kB / 0.7775 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.641, allocations: 4 kB / 0.7775 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.641, allocations: 3.984 kB / 0.7775 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005015/0.646, allocations: 2.573 MB / 0.78 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.646, allocations: 0 / 0.78 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.647, allocations: 199.8 kB / 0.7802 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00083/0.6479, allocations: 286.4 kB / 0.7805 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.427e-05/0.648, allocations: 35.97 kB / 0.7805 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005705/0.6537, allocations: 5.048 MB / 0.7854 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6537, allocations: 7.938 kB / 0.7855 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004102/0.6578, allocations: 1.832 MB / 0.7872 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/0.6582, allocations: 247.7 kB / 0.7875 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.6584, allocations: 23.98 kB / 0.7875 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006447/0.6591, allocations: 63.95 kB / 0.7876 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.6592, allocations: 72.84 kB / 0.7876 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.368e-05/0.6593, allocations: 47.98 kB / 0.7877 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005245/0.6598, allocations: 447 kB / 0.7881 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6599, allocations: 0 / 0.7881 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001228/0.6611, allocations: 471.1 kB / 0.7886 GB, free: 3.91 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001037/0.6621, allocations: 0.6101 MB / 0.7891 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002716/0.6649, allocations: 1.321 MB / 0.7904 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6649, allocations: 0 / 0.7904 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001782/0.6667, allocations: 0.9782 MB / 0.7914 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.6681, allocations: 232.4 kB / 0.7916 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.6722, allocations: 2.742 MB / 0.7943 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.6727, allocations: 1.017 MB / 0.7953 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006213/0.6733, allocations: 175.3 kB / 0.7955 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.6733, allocations: 0 / 0.7955 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of Templates: time 0.2344/0.9078, allocations: 28.23 MB / 0.823 GB, free: 223.4 MB / 0.6075 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches