Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001066, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.006978/0.006978, allocations: 169.6 kB / 16.27 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6709/0.6709, allocations: 89.59 MB / 381 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.0003525/0.0003526, allocations: 11.88 kB / 460.6 MB, free: 24.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 68.83 MB / 0.517 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.5163/0.6497, allocations: 209.8 MB / 0.7219 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02115/0.6709, allocations: 17.24 MB / 0.7387 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.6723, allocations: 23.88 kB / 0.7388 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.6739, allocations: 0.5285 MB / 0.7393 GB, free: 7.699 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004648/0.6785, allocations: 1.501 MB / 0.7407 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004412/0.683, allocations: 1.437 MB / 0.7421 GB, free: 4.754 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00272/0.6857, allocations: 1.759 MB / 0.7439 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000555/0.6863, allocations: 258.7 kB / 0.7441 GB, free: 2.723 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.6888, allocations: 1.059 MB / 0.7451 GB, free: 1.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000777/0.6896, allocations: 0.5519 MB / 0.7457 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.6897, allocations: 48 kB / 0.7457 GB, free: 1.059 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007004/0.6967, allocations: 3.56 MB / 0.7492 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.697, allocations: 187.1 kB / 0.7494 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006469/0.6977, allocations: 0.5339 MB / 0.7499 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004466/0.7022, allocations: 2.131 MB / 0.752 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7022, allocations: 0 / 0.752 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7022, allocations: 0 / 0.752 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.7022, allocations: 4 kB / 0.752 GB, free: 10.62 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.003102/0.7053, allocations: 1.481 MB / 0.7534 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.7054, allocations: 8.031 kB / 0.7534 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.7074, allocations: 270.3 kB / 0.7537 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.7084, allocations: 0.6176 MB / 0.7543 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/0.7087, allocations: 208.8 kB / 0.7545 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.7089, allocations: 88 kB / 0.7546 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.7109, allocations: 1.028 MB / 0.7556 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.7109, allocations: 8 kB / 0.7556 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-05/0.711, allocations: 40 kB / 0.7556 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.711, allocations: 23.94 kB / 0.7557 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.7128, allocations: 0.8197 MB / 0.7565 GB, free: 5.898 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.005385/0.7182, allocations: 4.095 MB / 0.7605 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002038/0.7203, allocations: 0.9019 MB / 0.7613 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008682/0.7212, allocations: 467.2 kB / 0.7618 GB, free: 92 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009101/0.7221, allocations: 1.299 MB / 0.7631 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.7221, allocations: 43.22 kB / 0.7631 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.735e-06/0.7221, allocations: 3.938 kB / 0.7631 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005755/0.7279, allocations: 2.122 MB / 0.7652 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.728, allocations: 60.06 kB / 0.7652 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007719/0.7287, allocations: 0.6139 MB / 0.7658 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-05/0.7288, allocations: 37.7 kB / 0.7659 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.7292, allocations: 440 kB / 0.7663 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.7294, allocations: 272 kB / 0.7665 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.7295, allocations: 69.67 kB / 0.7666 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7296, allocations: 334 kB / 0.7669 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000799/0.7304, allocations: 337.8 kB / 0.7673 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008007/0.7313, allocations: 419.1 kB / 0.7677 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.7328, allocations: 0.7447 MB / 0.7684 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7328, allocations: 4 kB / 0.7684 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003482/0.7363, allocations: 1.334 MB / 0.7697 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.7364, allocations: 8 kB / 0.7697 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.7364, allocations: 4.062 kB / 0.7697 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009199/0.7373, allocations: 278.3 kB / 0.77 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009827/0.7383, allocations: 211.7 kB / 0.7702 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00615/0.7445, allocations: 5.041 MB / 0.7751 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008546/0.7453, allocations: 111.2 kB / 0.7752 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.7455, allocations: 55.97 kB / 0.7752 GB, free: 1.43 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.000434/0.7459, allocations: 213.7 kB / 0.7755 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.7461, allocations: 78.97 kB / 0.7755 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/0.7507, allocations: 1.919 MB / 0.7774 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.7507, allocations: 12 kB / 0.7774 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.7507, allocations: 7.984 kB / 0.7774 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.7507, allocations: 7.922 kB / 0.7774 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005242/0.756, allocations: 2.557 MB / 0.7799 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.756, allocations: 0 / 0.7799 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.757, allocations: 203.9 kB / 0.7801 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008462/0.7579, allocations: 290.2 kB / 0.7804 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.876e-05/0.758, allocations: 31.98 kB / 0.7804 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005981/0.764, allocations: 5.052 MB / 0.7854 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.764, allocations: 3.938 kB / 0.7854 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004173/0.7682, allocations: 1.827 MB / 0.7871 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.7686, allocations: 247.7 kB / 0.7874 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.7687, allocations: 20 kB / 0.7874 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006366/0.7694, allocations: 67.89 kB / 0.7875 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.7695, allocations: 72.5 kB / 0.7875 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/0.7696, allocations: 47.98 kB / 0.7876 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005629/0.7702, allocations: 455 kB / 0.788 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7702, allocations: 0 / 0.788 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001273/0.7715, allocations: 463.1 kB / 0.7885 GB, free: 3.297 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.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 (76): * Single equations (assignments): 73 * 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.001074/0.7726, allocations: 0.6092 MB / 0.7891 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002797/0.7754, allocations: 1.326 MB / 0.7903 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7754, allocations: 0 / 0.7903 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/0.7772, allocations: 0.9762 MB / 0.7913 GB, free: 308 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.7786, allocations: 222.5 kB / 0.7915 GB, free: 88 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.7828, allocations: 2.681 MB / 0.7941 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/0.7834, allocations: 1.021 MB / 0.7951 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001522/0.7849, allocations: 0.6081 MB / 0.7957 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004408/0.7854, allocations: 139.3 kB / 0.7959 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of SimCode: time 7.51e-07/0.7854, allocations: 0 / 0.7959 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Templates: time 0.273/1.058, allocations: 18.36 MB / 0.8138 GB, free: 225.6 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches