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.001481/0.001481, allocations: 100.1 kB / 15.88 MB, free: 12 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.001792/0.001792, allocations: 198.5 kB / 16.79 MB, free: 6.828 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.28/1.28, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6184/0.6184, allocations: 89.52 MB / 380.1 MB, free: 11.23 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 84.47 kB / 458.2 MB, free: 23.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09666/0.09811, allocations: 67.3 MB / 0.5132 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4327/0.5309, allocations: 212.7 MB / 0.7209 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02094/0.5519, allocations: 17.5 MB / 0.738 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.553, allocations: 19.88 kB / 0.7381 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.5547, allocations: 0.5285 MB / 0.7386 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003955/0.5588, allocations: 1.505 MB / 0.74 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003862/0.5626, allocations: 1.442 MB / 0.7415 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00204/0.5647, allocations: 1.755 MB / 0.7432 GB, free: 7.559 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004643/0.5652, allocations: 258.7 kB / 0.7434 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.5674, allocations: 1.078 MB / 0.7445 GB, free: 6.211 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008625/0.5683, allocations: 0.5871 MB / 0.745 GB, free: 5.621 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.5685, allocations: 64 kB / 0.7451 GB, free: 5.559 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006401/0.5749, allocations: 3.599 MB / 0.7486 GB, free: 1.953 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.5751, allocations: 207 kB / 0.7488 GB, free: 1.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006312/0.5758, allocations: 0.54 MB / 0.7493 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.578, allocations: 1.575 MB / 0.7509 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.578, allocations: 0 / 0.7509 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.71e-07/0.578, allocations: 0 / 0.7509 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.427e-05/0.5781, allocations: 0 / 0.7509 GB, free: 15.63 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.003506/0.5816, allocations: 1.666 MB / 0.7525 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.5816, allocations: 12.03 kB / 0.7525 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.5836, allocations: 266.3 kB / 0.7528 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.5847, allocations: 0.6254 MB / 0.7534 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/0.5849, allocations: 196.7 kB / 0.7536 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.5851, allocations: 99.98 kB / 0.7537 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.5872, allocations: 1.001 MB / 0.7546 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.5872, allocations: 8 kB / 0.7546 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-05/0.5873, allocations: 36 kB / 0.7547 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.5873, allocations: 23.94 kB / 0.7547 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.5891, allocations: 0.7807 MB / 0.7555 GB, free: 10.78 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.00534/0.5945, allocations: 4.059 MB / 0.7594 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.5965, allocations: 0.8628 MB / 0.7603 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008217/0.5973, allocations: 435.2 kB / 0.7607 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009112/0.5982, allocations: 1.299 MB / 0.762 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.5983, allocations: 47.22 kB / 0.762 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 2.635e-06/0.5983, allocations: 3.938 kB / 0.762 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.005243/0.6035, allocations: 1.892 MB / 0.7639 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.6036, allocations: 64.06 kB / 0.7639 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000767/0.6044, allocations: 0.6138 MB / 0.7645 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/0.6044, allocations: 37.7 kB / 0.7646 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.6047, allocations: 428.1 kB / 0.765 GB, free: 300 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.605, allocations: 272 kB / 0.7652 GB, free: 24 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/0.6053, allocations: 154.6 kB / 0.7654 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6054, allocations: 337.9 kB / 0.7657 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007086/0.6061, allocations: 309.8 kB / 0.766 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/0.6069, allocations: 387.1 kB / 0.7664 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.6083, allocations: 0.6862 MB / 0.767 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6084, allocations: 4 kB / 0.767 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003115/0.6115, allocations: 1.213 MB / 0.7682 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.6115, allocations: 6.188 kB / 0.7682 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.6115, allocations: 0 / 0.7682 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008348/0.6124, allocations: 250.3 kB / 0.7685 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009827/0.6134, allocations: 203.7 kB / 0.7687 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005952/0.6193, allocations: 4.861 MB / 0.7734 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006896/0.62, allocations: 99.22 kB / 0.7735 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.6202, allocations: 55.98 kB / 0.7735 GB, free: 7.031 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.0003846/0.6206, allocations: 209.7 kB / 0.7737 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.6208, allocations: 82.97 kB / 0.7738 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004431/0.6252, allocations: 1.822 MB / 0.7756 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.6252, allocations: 8 kB / 0.7756 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.6252, allocations: 4 kB / 0.7756 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.6253, allocations: 3.984 kB / 0.7756 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004923/0.6302, allocations: 2.445 MB / 0.778 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.6302, allocations: 0 / 0.778 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.6312, allocations: 199.9 kB / 0.7782 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007912/0.632, allocations: 254.2 kB / 0.7784 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.589e-05/0.6321, allocations: 31.98 kB / 0.7785 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005545/0.6377, allocations: 4.868 MB / 0.7832 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.6377, allocations: 7.969 kB / 0.7832 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/0.6416, allocations: 1.699 MB / 0.7849 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/0.642, allocations: 239.8 kB / 0.7851 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.6421, allocations: 20 kB / 0.7851 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/0.6428, allocations: 59.94 kB / 0.7852 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.6429, allocations: 80.77 kB / 0.7853 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.954e-05/0.643, allocations: 55.92 kB / 0.7853 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005411/0.6436, allocations: 447 kB / 0.7858 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6436, allocations: 0 / 0.7858 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001303/0.6449, allocations: 471.1 kB / 0.7862 GB, free: 9.473 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.001221/0.6461, allocations: 0.5739 MB / 0.7868 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002674/0.6488, allocations: 1.231 MB / 0.788 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.6488, allocations: 4 kB / 0.788 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.6505, allocations: 0.908 MB / 0.7889 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.6518, allocations: 238.2 kB / 0.7891 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004342/0.6561, allocations: 2.573 MB / 0.7916 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/0.6568, allocations: 1.013 MB / 0.7926 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006692/0.6574, allocations: 167.3 kB / 0.7927 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/0.6574, allocations: 4 kB / 0.7928 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of Templates: time 0.03443/0.6919, allocations: 28.36 MB / 0.8204 GB, free: 6.27 MB / 0.6231 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