Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.0014/0.0014, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001669/0.001669, allocations: 197.1 kB / 16.14 MB, free: 6.715 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7077/0.7077, allocations: 93.7 MB / 383.7 MB, free: 7.16 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 82.45 kB / 462.7 MB, free: 22.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1164, allocations: 68.26 MB / 0.5185 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.4942/0.6106, allocations: 234.1 MB / 0.7472 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02512/0.6358, allocations: 22.61 MB / 0.7692 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.6375, allocations: 75.5 kB / 0.7693 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.6395, allocations: 0.6916 MB / 0.77 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004782/0.6443, allocations: 1.82 MB / 0.7718 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005008/0.6493, allocations: 1.897 MB / 0.7736 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003061/0.6524, allocations: 2.486 MB / 0.776 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006411/0.653, allocations: 398.2 kB / 0.7764 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002692/0.6557, allocations: 1.346 MB / 0.7777 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008595/0.6566, allocations: 0.8241 MB / 0.7785 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.6568, allocations: 88 kB / 0.7786 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/0.6669, allocations: 4.274 MB / 0.7828 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004969/0.6675, allocations: 302.5 kB / 0.7831 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.6685, allocations: 0.7923 MB / 0.7839 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006533/0.6751, allocations: 2.879 MB / 0.7867 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.465e-05/0.6751, allocations: 0 / 0.7867 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6751, allocations: 3.938 kB / 0.7867 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.577e-05/0.6752, allocations: 0 / 0.7867 GB, free: 8.406 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.004714/0.6799, allocations: 2.331 MB / 0.789 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.6799, allocations: 12.03 kB / 0.789 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/0.6831, allocations: 421.4 kB / 0.7894 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.685, allocations: 1.017 MB / 0.7904 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004056/0.6855, allocations: 356 kB / 0.7907 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.6857, allocations: 131.9 kB / 0.7908 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003009/0.6887, allocations: 1.446 MB / 0.7922 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.6888, allocations: 0 / 0.7922 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.6889, allocations: 52 kB / 0.7923 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.6889, allocations: 32 kB / 0.7923 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002691/0.6916, allocations: 1.184 MB / 0.7935 GB, free: 1.223 MB / 0.5919 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.007361/0.699, allocations: 5.473 MB / 0.7988 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/0.7021, allocations: 1.333 MB / 0.8001 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.7036, allocations: 0.7028 MB / 0.8008 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.7049, allocations: 1.798 MB / 0.8026 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.705, allocations: 39.56 kB / 0.8026 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=113): time 3.176e-06/0.705, allocations: 0 / 0.8026 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=113): time 0.009133/0.7141, allocations: 3.047 MB / 0.8056 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.7142, allocations: 64.41 kB / 0.8056 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.7154, allocations: 0.9095 MB / 0.8065 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.7155, allocations: 45.7 kB / 0.8066 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/0.716, allocations: 0.634 MB / 0.8072 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003297/0.7163, allocations: 390.2 kB / 0.8076 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003749/0.7167, allocations: 210.9 kB / 0.8078 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.7168, allocations: 345.9 kB / 0.8081 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.718, allocations: 0.4944 MB / 0.8086 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.7193, allocations: 0.5762 MB / 0.8091 GB, free: 160 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002434/0.7218, allocations: 1.058 MB / 0.8102 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.7218, allocations: 0 / 0.8102 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005268/0.727, allocations: 1.92 MB / 0.812 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.7271, allocations: 8 kB / 0.8121 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.7271, allocations: 0 / 0.8121 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.7284, allocations: 419 kB / 0.8124 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.73, allocations: 299.6 kB / 0.8127 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008937/0.7389, allocations: 6.895 MB / 0.8195 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.74, allocations: 151.1 kB / 0.8196 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/0.7403, allocations: 75.97 kB / 0.8197 GB, free: 4.766 MB / 0.6231 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.0005919/0.7409, allocations: 261.6 kB / 0.8199 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003251/0.7412, allocations: 138.3 kB / 0.8201 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007055/0.7482, allocations: 2.724 MB / 0.8227 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.7483, allocations: 12 kB / 0.8227 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.7483, allocations: 4 kB / 0.8227 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.7483, allocations: 11.91 kB / 0.8228 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2286/0.9769, allocations: 3.599 MB / 0.8263 GB, free: 239.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.977, allocations: 1.75 kB / 0.8263 GB, free: 239.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.9786, allocations: 290.3 kB / 0.8265 GB, free: 239.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/0.98, allocations: 419.8 kB / 0.8269 GB, free: 239.2 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.9801, allocations: 48.36 kB / 0.827 GB, free: 239.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007743/0.9879, allocations: 6.894 MB / 0.8337 GB, free: 233.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.9879, allocations: 1.781 kB / 0.8337 GB, free: 233.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006397/0.9943, allocations: 2.608 MB / 0.8363 GB, free: 233 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006094/0.9949, allocations: 313.2 kB / 0.8366 GB, free: 232.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.9952, allocations: 28.08 kB / 0.8366 GB, free: 232.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009769/0.9961, allocations: 97.22 kB / 0.8367 GB, free: 232.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/0.9964, allocations: 99.34 kB / 0.8368 GB, free: 232.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/0.9965, allocations: 74.56 kB / 0.8369 GB, free: 232.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009903/0.9975, allocations: 0.6285 MB / 0.8375 GB, free: 232.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9976, allocations: 0 / 0.8375 GB, free: 232.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001695/0.9993, allocations: 0.5954 MB / 0.8381 GB, free: 232.4 MB / 0.6231 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.001483/1.001, allocations: 0.6927 MB / 0.8387 GB, free: 232.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004193/1.005, allocations: 1.892 MB / 0.8406 GB, free: 231.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/1.005, allocations: 1.469 kB / 0.8406 GB, free: 231.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002859/1.008, allocations: 1.368 MB / 0.8419 GB, free: 230.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/1.009, allocations: 285.4 kB / 0.8422 GB, free: 230.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005804/1.015, allocations: 3.696 MB / 0.8458 GB, free: 228.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009163/1.016, allocations: 1.205 MB / 0.847 GB, free: 227.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002338/1.018, allocations: 0.8441 MB / 0.8478 GB, free: 227.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007496/1.019, allocations: 188.9 kB / 0.848 GB, free: 227.7 MB / 0.6231 GB Notification: Performance of SimCode: time 9.92e-07/1.019, allocations: 0 / 0.848 GB, free: 227.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.03817/1.057, allocations: 24.43 MB / 0.8718 GB, free: 215.3 MB / 0.6231 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches