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.0009583/0.0009585, allocations: 92.08 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.001257/0.001257, allocations: 180.3 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.326/1.326, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6218/0.6218, allocations: 89.65 MB / 381.7 MB, free: 11.29 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 10.88 kB / 461.3 MB, free: 24.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1137, allocations: 68.83 MB / 0.5177 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4491/0.5628, allocations: 209.8 MB / 0.7226 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01885/0.5816, allocations: 17.25 MB / 0.7394 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/0.5827, allocations: 23.88 kB / 0.7395 GB, free: 8.211 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.5844, allocations: 0.5207 MB / 0.74 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004186/0.5886, allocations: 1.497 MB / 0.7414 GB, free: 6.184 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004023/0.5926, allocations: 1.443 MB / 0.7428 GB, free: 4.738 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002198/0.5948, allocations: 1.755 MB / 0.7446 GB, free: 2.977 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005056/0.5953, allocations: 258.7 kB / 0.7448 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.5974, allocations: 1.051 MB / 0.7458 GB, free: 1.656 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000877/0.5983, allocations: 0.548 MB / 0.7464 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.5985, allocations: 48 kB / 0.7464 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006768/0.6053, allocations: 3.564 MB / 0.7499 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000294/0.6056, allocations: 179.1 kB / 0.7501 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00077/0.6064, allocations: 0.5456 MB / 0.7506 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002759/0.6092, allocations: 1.543 MB / 0.7521 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.6092, allocations: 4 kB / 0.7521 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6092, allocations: 0 / 0.7521 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.119e-05/0.6093, 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.003304/0.6126, allocations: 1.477 MB / 0.7536 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.6126, allocations: 12.03 kB / 0.7536 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.6147, allocations: 266.3 kB / 0.7538 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.6158, allocations: 0.6253 MB / 0.7544 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/0.6161, allocations: 200.8 kB / 0.7546 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.6163, allocations: 100 kB / 0.7547 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.6183, allocations: 1.028 MB / 0.7557 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.6183, allocations: 0 / 0.7557 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.6184, allocations: 36 kB / 0.7558 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.6185, allocations: 31.94 kB / 0.7558 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.6202, allocations: 0.8042 MB / 0.7566 GB, free: 6.492 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.005041/0.6253, allocations: 4.091 MB / 0.7606 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.6273, allocations: 0.9019 MB / 0.7614 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008473/0.6281, allocations: 459.2 kB / 0.7619 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008709/0.629, allocations: 1.307 MB / 0.7632 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.6291, allocations: 39.22 kB / 0.7632 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 4.689e-06/0.6291, allocations: 3.938 kB / 0.7632 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005859/0.6349, allocations: 2.115 MB / 0.7653 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.635, allocations: 64 kB / 0.7653 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008195/0.6358, allocations: 0.6178 MB / 0.7659 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.731e-05/0.6359, allocations: 37.7 kB / 0.766 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.6362, allocations: 420.1 kB / 0.7664 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.6364, allocations: 279.9 kB / 0.7666 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.6366, allocations: 65.69 kB / 0.7667 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6367, allocations: 334 kB / 0.767 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007482/0.6374, allocations: 337.8 kB / 0.7673 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007917/0.6382, allocations: 411.1 kB / 0.7677 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.6398, allocations: 0.7409 MB / 0.7685 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6398, allocations: 0 / 0.7685 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003326/0.6432, allocations: 1.33 MB / 0.7697 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.6432, allocations: 4 kB / 0.7698 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.6432, allocations: 4 kB / 0.7698 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009081/0.6441, allocations: 278.4 kB / 0.77 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009552/0.6451, allocations: 215.7 kB / 0.7702 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006221/0.6513, allocations: 5.036 MB / 0.7751 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008118/0.6522, allocations: 115.2 kB / 0.7753 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.6523, allocations: 52.17 kB / 0.7753 GB, free: 2.07 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.0004067/0.6528, allocations: 209.7 kB / 0.7755 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.6529, allocations: 90.97 kB / 0.7756 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00462/0.6576, allocations: 1.923 MB / 0.7775 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.6576, allocations: 11.98 kB / 0.7775 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6576, allocations: 4 kB / 0.7775 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.6576, allocations: 3.984 kB / 0.7775 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00515/0.6628, allocations: 2.577 MB / 0.78 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.6628, allocations: 0 / 0.78 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009918/0.6638, allocations: 199.8 kB / 0.7802 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008489/0.6647, allocations: 286.5 kB / 0.7805 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.078e-05/0.6648, allocations: 31.98 kB / 0.7805 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005907/0.6707, allocations: 5.048 MB / 0.7854 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.6707, allocations: 12.22 kB / 0.7854 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004098/0.6748, allocations: 1.824 MB / 0.7872 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.6752, allocations: 247.8 kB / 0.7875 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.6754, allocations: 24 kB / 0.7875 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006651/0.6761, allocations: 63.95 kB / 0.7875 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.6762, allocations: 80.78 kB / 0.7876 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.6e-05/0.6763, allocations: 47.97 kB / 0.7877 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005602/0.6769, allocations: 447 kB / 0.7881 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6769, allocations: 0 / 0.7881 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001288/0.6782, allocations: 475.1 kB / 0.7885 GB, free: 3.906 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.001197/0.6794, allocations: 0.6059 MB / 0.7891 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002812/0.6822, allocations: 1.317 MB / 0.7904 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6822, allocations: 8.125 kB / 0.7904 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.6841, allocations: 0.9704 MB / 0.7914 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.6855, allocations: 239 kB / 0.7916 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004307/0.6898, allocations: 2.735 MB / 0.7943 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.6904, allocations: 1.017 MB / 0.7953 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006149/0.691, allocations: 171.3 kB / 0.7954 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.691, allocations: 0 / 0.7954 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of Templates: time 0.2401/0.9312, allocations: 28.24 MB / 0.823 GB, free: 223.2 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