Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007527/0.007533, allocations: 104.7 kB / 15.74 MB, free: 6.035 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.001633/0.001633, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7392/0.7392, allocations: 91.18 MB / 381.7 MB, free: 7.496 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 79.88 kB / 0.5168 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4446, allocations: 67.68 MB / 0.5829 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.6732/1.118, allocations: 235 MB / 0.8124 GB, free: 404 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02224/1.14, allocations: 22.28 MB / 0.8342 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/1.142, allocations: 59.81 kB / 0.8342 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002328/1.145, allocations: 0.792 MB / 0.835 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006964/1.152, allocations: 2.051 MB / 0.837 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006617/1.158, allocations: 2.173 MB / 0.8391 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003632/1.162, allocations: 2.196 MB / 0.8413 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006647/1.163, allocations: 414 kB / 0.8416 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002755/1.165, allocations: 1.394 MB / 0.843 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/1.167, allocations: 0.8341 MB / 0.8438 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002079/1.167, allocations: 132 kB / 0.844 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009271/1.176, allocations: 4.086 MB / 0.8479 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003519/1.176, allocations: 345.7 kB / 0.8483 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/1.178, allocations: 0.8105 MB / 0.8491 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007846/1.185, allocations: 2.999 MB / 0.852 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/1.185, allocations: 0 / 0.852 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.825e-06/1.185, allocations: 4 kB / 0.852 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.501e-05/1.186, allocations: 0 / 0.852 GB, free: 0.6328 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.00554/1.191, allocations: 2.292 MB / 0.8542 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/1.191, allocations: 8.031 kB / 0.8542 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00294/1.194, allocations: 413.5 kB / 0.8546 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/1.196, allocations: 1.083 MB / 0.8557 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003522/1.196, allocations: 348.1 kB / 0.856 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/1.196, allocations: 134.4 kB / 0.8562 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/1.199, allocations: 1.448 MB / 0.8576 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/1.199, allocations: 8.797 kB / 0.8576 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/1.199, allocations: 52 kB / 0.8576 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/1.199, allocations: 28 kB / 0.8577 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/1.202, allocations: 1.188 MB / 0.8588 GB, free: 9.543 MB / 0.6075 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.006863/1.209, allocations: 5.434 MB / 0.8641 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002799/1.212, allocations: 1.328 MB / 0.8654 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/1.213, allocations: 0.7106 MB / 0.8661 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/1.214, allocations: 1.792 MB / 0.8679 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/1.214, allocations: 43.56 kB / 0.8679 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=113): time 3.857e-06/1.214, allocations: 0 / 0.8679 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113): time 0.00833/1.223, allocations: 3.04 MB / 0.8709 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/1.223, allocations: 68.41 kB / 0.8709 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/1.224, allocations: 0.8793 MB / 0.8718 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-05/1.224, allocations: 45.7 kB / 0.8718 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/1.224, allocations: 0.6025 MB / 0.8724 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/1.225, allocations: 387.8 kB / 0.8728 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003798/1.225, allocations: 206.9 kB / 0.873 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.225, allocations: 345.9 kB / 0.8733 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/1.226, allocations: 0.4905 MB / 0.8738 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/1.228, allocations: 0.584 MB / 0.8744 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/1.23, allocations: 1.048 MB / 0.8754 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.23, allocations: 11.94 kB / 0.8754 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004922/1.235, allocations: 1.918 MB / 0.8773 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.235, allocations: 8.062 kB / 0.8773 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.235, allocations: 0 / 0.8773 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/1.236, allocations: 411 kB / 0.8777 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/1.238, allocations: 308.2 kB / 0.878 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009124/1.247, allocations: 7.418 MB / 0.8852 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009962/1.248, allocations: 123.1 kB / 0.8853 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/1.248, allocations: 76.89 kB / 0.8854 GB, free: 12.89 MB / 0.6387 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005231/1.249, allocations: 274.5 kB / 0.8857 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/1.249, allocations: 122.4 kB / 0.8858 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006348/1.255, allocations: 2.709 MB / 0.8884 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.255, allocations: 15.98 kB / 0.8884 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.255, allocations: 8 kB / 0.8885 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.255, allocations: 10.45 kB / 0.8885 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007318/1.263, allocations: 3.59 MB / 0.892 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.263, allocations: 0 / 0.892 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/1.264, allocations: 289.9 kB / 0.8922 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/1.265, allocations: 421.7 kB / 0.8926 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/1.265, allocations: 47.91 kB / 0.8927 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008924/1.274, allocations: 7.416 MB / 0.8999 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.274, allocations: 6.656 kB / 0.8999 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006295/1.281, allocations: 2.596 MB / 0.9025 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006194/1.281, allocations: 319 kB / 0.9028 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/1.281, allocations: 24 kB / 0.9028 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007923/1.282, allocations: 72.12 kB / 0.9029 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/1.282, allocations: 99.39 kB / 0.903 GB, free: 10.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/1.283, allocations: 75.97 kB / 0.903 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009047/1.284, allocations: 0.6064 MB / 0.9036 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.124e-06/1.284, allocations: 0 / 0.9036 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001893/1.285, allocations: 0.6003 MB / 0.9042 GB, free: 8.988 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (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.001236/1.287, allocations: 0.6871 MB / 0.9049 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004089/1.291, allocations: 1.9 MB / 0.9067 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.291, allocations: 0 / 0.9067 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002675/1.293, allocations: 1.359 MB / 0.9081 GB, free: 5.031 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/1.295, allocations: 314.8 kB / 0.9084 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/1.3, allocations: 3.011 MB / 0.9113 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007675/1.301, allocations: 1.194 MB / 0.9125 GB, free: 492 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001666/1.303, allocations: 0.8319 MB / 0.9133 GB, free: 15.67 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00054/1.303, allocations: 191.3 kB / 0.9135 GB, free: 15.48 MB / 0.67 GB Notification: Performance of SimCode: time 5.81e-07/1.303, allocations: 4 kB / 0.9135 GB, free: 15.48 MB / 0.67 GB Notification: Performance of Templates: time 0.04355/1.347, allocations: 25.21 MB / 0.9381 GB, free: 6.508 MB / 0.6856 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches