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.001177/0.001177, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008992/0.008992, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.393/1.393, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7073/0.7073, allocations: 91.32 MB / 382.8 MB, free: 9.645 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004353/0.0004356, allocations: 10.34 kB / 462.7 MB, free: 23.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 69.22 MB / 0.5195 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5001/0.6231, allocations: 210.2 MB / 0.7248 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02191/0.6451, allocations: 17.36 MB / 0.7417 GB, free: 4.355 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.6475, allocations: 55.62 kB / 0.7418 GB, free: 4.301 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.6497, allocations: 0.5322 MB / 0.7423 GB, free: 3.766 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005063/0.6548, allocations: 1.544 MB / 0.7438 GB, free: 2.215 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004348/0.6591, allocations: 1.43 MB / 0.7452 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002522/0.6617, allocations: 1.884 MB / 0.747 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004774/0.6622, allocations: 271.2 kB / 0.7473 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.6646, allocations: 1.117 MB / 0.7484 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007264/0.6653, allocations: 0.5712 MB / 0.7489 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.6654, allocations: 48 kB / 0.749 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00695/0.6724, allocations: 3.568 MB / 0.7525 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/0.6727, allocations: 195 kB / 0.7527 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006498/0.6734, allocations: 0.588 MB / 0.7532 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004271/0.6777, allocations: 2.204 MB / 0.7554 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6777, allocations: 0 / 0.7554 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6777, allocations: 3.938 kB / 0.7554 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.945e-05/0.6778, allocations: 0 / 0.7554 GB, free: 6.293 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.003442/0.6812, allocations: 1.6 MB / 0.757 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.6813, allocations: 8.031 kB / 0.757 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.6833, allocations: 282.6 kB / 0.7572 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.6848, allocations: 0.8117 MB / 0.758 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.6851, allocations: 208.7 kB / 0.7582 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.6853, allocations: 99.91 kB / 0.7583 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.6873, allocations: 1.028 MB / 0.7593 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.6873, allocations: 7.875 kB / 0.7593 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/0.6874, allocations: 36 kB / 0.7594 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.6874, allocations: 24 kB / 0.7594 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.6893, allocations: 0.8042 MB / 0.7602 GB, free: 1.246 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.005756/0.6951, allocations: 4.143 MB / 0.7642 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.6972, allocations: 0.8941 MB / 0.7651 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008922/0.6981, allocations: 463.2 kB / 0.7655 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000986/0.6991, allocations: 1.299 MB / 0.7668 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.6992, allocations: 43.22 kB / 0.7668 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 3.156e-06/0.6992, allocations: 0 / 0.7668 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005917/0.7051, allocations: 2.126 MB / 0.7689 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.7052, allocations: 60.06 kB / 0.769 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.7063, allocations: 0.7615 MB / 0.7697 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.473e-05/0.7064, allocations: 45.7 kB / 0.7698 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.7068, allocations: 0.4883 MB / 0.7702 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.707, allocations: 275.9 kB / 0.7705 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.7072, allocations: 65.69 kB / 0.7706 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.7073, allocations: 333.9 kB / 0.7709 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007719/0.7081, allocations: 341.8 kB / 0.7712 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008315/0.7089, allocations: 419 kB / 0.7716 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.7106, allocations: 0.7409 MB / 0.7723 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.7106, allocations: 0 / 0.7723 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003634/0.7142, allocations: 1.342 MB / 0.7736 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.7143, allocations: 8.062 kB / 0.7737 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.7143, allocations: 4 kB / 0.7737 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009449/0.7152, allocations: 286.3 kB / 0.7739 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009616/0.7162, allocations: 203.8 kB / 0.7741 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006276/0.7225, allocations: 5.04 MB / 0.779 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009996/0.7235, allocations: 107.3 kB / 0.7791 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.7237, allocations: 52.17 kB / 0.7792 GB, free: 12.5 MB / 0.5919 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.0004764/0.7242, allocations: 225.7 kB / 0.7794 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.7243, allocations: 114.6 kB / 0.7795 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004594/0.7289, allocations: 1.953 MB / 0.7814 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.729, allocations: 8 kB / 0.7814 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.729, allocations: 4 kB / 0.7814 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.729, allocations: 3.984 kB / 0.7814 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005435/0.7344, allocations: 2.608 MB / 0.784 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.7345, allocations: 3.984 kB / 0.784 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.7356, allocations: 199.9 kB / 0.7842 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009859/0.7366, allocations: 294.2 kB / 0.7845 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.7368, allocations: 31.98 kB / 0.7845 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006247/0.743, allocations: 5.048 MB / 0.7894 GB, free: 1.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.7431, allocations: 8.234 kB / 0.7894 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004295/0.7474, allocations: 1.853 MB / 0.7912 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004262/0.7478, allocations: 255.6 kB / 0.7915 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.7479, allocations: 31.92 kB / 0.7915 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006292/0.7486, allocations: 67.86 kB / 0.7916 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.7487, allocations: 76.84 kB / 0.7917 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.06e-05/0.7488, allocations: 47.98 kB / 0.7917 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006939/0.7495, allocations: 0.5317 MB / 0.7922 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7495, allocations: 0 / 0.7922 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001327/0.7509, allocations: 471.2 kB / 0.7927 GB, free: 14.09 MB / 0.6075 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.001109/0.752, allocations: 0.5977 MB / 0.7933 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002848/0.7549, allocations: 1.332 MB / 0.7946 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.7549, allocations: 0 / 0.7946 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001842/0.7567, allocations: 0.9743 MB / 0.7955 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.7582, allocations: 241.2 kB / 0.7957 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/0.7627, allocations: 2.927 MB / 0.7986 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.7633, allocations: 1.068 MB / 0.7996 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001558/0.7649, allocations: 0.6351 MB / 0.8003 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004685/0.7654, allocations: 155.2 kB / 0.8004 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.7654, allocations: 0 / 0.8004 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of Templates: time 0.3559/1.121, allocations: 18.88 MB / 0.8189 GB, free: 223.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches