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-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.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.0007799/0.0007798, allocations: 99.19 kB / 16.02 MB, free: 76 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.0008174/0.0008174, allocations: 182.6 kB / 16.92 MB, free: 6.914 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.295/1.295, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6388/0.6388, allocations: 89.64 MB / 381.7 MB, free: 11.33 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 7.688 kB / 461.3 MB, free: 24.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1077, allocations: 68.83 MB / 0.5177 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4483/0.5561, allocations: 209.8 MB / 0.7226 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01967/0.5758, allocations: 17.26 MB / 0.7394 GB, free: 8.516 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.5769, allocations: 27.81 kB / 0.7395 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.5786, allocations: 0.5168 MB / 0.74 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004223/0.5828, allocations: 1.501 MB / 0.7414 GB, free: 6.461 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004089/0.5869, allocations: 1.448 MB / 0.7428 GB, free: 5.012 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002301/0.5893, allocations: 1.755 MB / 0.7446 GB, free: 3.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.5898, allocations: 254.7 kB / 0.7448 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.592, allocations: 1.055 MB / 0.7458 GB, free: 1.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008574/0.5929, allocations: 0.5558 MB / 0.7464 GB, free: 1.371 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001941/0.5931, allocations: 48 kB / 0.7464 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006726/0.5998, allocations: 3.56 MB / 0.7499 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.6001, allocations: 187.1 kB / 0.7501 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006786/0.6008, allocations: 0.5339 MB / 0.7506 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.6034, allocations: 1.555 MB / 0.7521 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6034, allocations: 0 / 0.7521 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6034, allocations: 0 / 0.7521 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.948e-05/0.6034, allocations: 4 kB / 0.7521 GB, free: 11.47 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.003197/0.6066, allocations: 1.477 MB / 0.7536 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.6067, allocations: 12.03 kB / 0.7536 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.6088, allocations: 274.2 kB / 0.7538 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.6098, allocations: 0.6214 MB / 0.7544 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.6101, allocations: 200.8 kB / 0.7546 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.6103, allocations: 95.98 kB / 0.7547 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.6124, allocations: 1.032 MB / 0.7557 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.6124, allocations: 4 kB / 0.7557 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.289e-05/0.6125, allocations: 36 kB / 0.7558 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.6125, allocations: 27.94 kB / 0.7558 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.6144, allocations: 0.8158 MB / 0.7566 GB, free: 6.738 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.005225/0.6196, allocations: 4.091 MB / 0.7606 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.6217, allocations: 0.9058 MB / 0.7615 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008909/0.6226, allocations: 459.2 kB / 0.7619 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000838/0.6234, allocations: 1.303 MB / 0.7632 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.6235, allocations: 43.22 kB / 0.7632 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.695e-06/0.6235, allocations: 0 / 0.7632 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005805/0.6293, allocations: 2.126 MB / 0.7653 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.6294, allocations: 64 kB / 0.7654 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008214/0.6302, allocations: 0.61 MB / 0.766 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.6303, allocations: 41.7 kB / 0.766 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.6307, allocations: 424.1 kB / 0.7664 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/0.6309, allocations: 283.9 kB / 0.7667 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.631, allocations: 61.69 kB / 0.7667 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6312, allocations: 337.9 kB / 0.7671 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008082/0.632, allocations: 341.8 kB / 0.7674 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008498/0.6328, allocations: 419.1 kB / 0.7678 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.6345, allocations: 0.7448 MB / 0.7685 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6345, allocations: 0 / 0.7685 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003466/0.638, allocations: 1.338 MB / 0.7698 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.638, allocations: 4 kB / 0.7698 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.6381, allocations: 4 kB / 0.7698 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009623/0.639, allocations: 290.4 kB / 0.7701 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009782/0.64, allocations: 199.7 kB / 0.7703 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006154/0.6462, allocations: 5.044 MB / 0.7752 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007877/0.647, allocations: 107.5 kB / 0.7753 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.6471, allocations: 55.98 kB / 0.7754 GB, free: 2.277 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.0003987/0.6476, allocations: 209.7 kB / 0.7756 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.6477, allocations: 90.89 kB / 0.7757 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004611/0.6524, allocations: 1.922 MB / 0.7775 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.6524, allocations: 8 kB / 0.7775 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6524, allocations: 4 kB / 0.7775 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.6524, allocations: 7.984 kB / 0.7776 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005151/0.6576, allocations: 2.549 MB / 0.78 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6576, allocations: 3.938 kB / 0.78 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.6586, allocations: 199.9 kB / 0.7802 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008852/0.6595, allocations: 298.2 kB / 0.7805 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-05/0.6596, allocations: 31.97 kB / 0.7806 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005891/0.6655, allocations: 5.044 MB / 0.7855 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.6655, allocations: 15.89 kB / 0.7855 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00421/0.6697, allocations: 1.819 MB / 0.7873 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/0.6702, allocations: 247.7 kB / 0.7875 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.6703, allocations: 19.94 kB / 0.7875 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.671, allocations: 67.89 kB / 0.7876 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.6712, allocations: 76.44 kB / 0.7877 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.773e-05/0.6713, allocations: 51.97 kB / 0.7877 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005493/0.6718, allocations: 451 kB / 0.7881 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6718, allocations: 0 / 0.7881 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001291/0.6731, allocations: 471.1 kB / 0.7886 GB, free: 4.133 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.001167/0.6743, allocations: 0.5962 MB / 0.7892 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002876/0.6772, allocations: 1.326 MB / 0.7905 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6772, allocations: 0 / 0.7905 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.6791, allocations: 0.9646 MB / 0.7914 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.6806, allocations: 240.5 kB / 0.7916 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.6849, allocations: 2.729 MB / 0.7943 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/0.6856, allocations: 1.013 MB / 0.7953 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006404/0.6863, allocations: 171.3 kB / 0.7955 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.6863, allocations: 0 / 0.7955 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of Templates: time 0.242/0.9283, allocations: 28.22 MB / 0.823 GB, free: 224.2 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches