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.0009497/0.0009496, allocations: 98.03 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.007488/0.007488, allocations: 169.5 kB / 16.27 MB, free: 6.648 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6747/0.6747, allocations: 91.33 MB / 382.8 MB, free: 9.625 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003878, allocations: 10.09 kB / 462.7 MB, free: 23.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1309, allocations: 69.21 MB / 0.5195 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.527/0.6579, allocations: 230.8 MB / 0.7449 GB, free: 1.098 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02736/0.6853, allocations: 22.24 MB / 0.7666 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001803/0.6871, allocations: 59.56 kB / 0.7666 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.6893, allocations: 0.6916 MB / 0.7673 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005375/0.6947, allocations: 1.812 MB / 0.7691 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005488/0.7003, allocations: 1.883 MB / 0.7709 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003438/0.7037, allocations: 2.442 MB / 0.7733 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007474/0.7045, allocations: 378.1 kB / 0.7737 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002742/0.7072, allocations: 1.288 MB / 0.7749 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.7085, allocations: 0.7694 MB / 0.7757 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003227/0.7089, allocations: 68 kB / 0.7757 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008445/0.7173, allocations: 4.235 MB / 0.7799 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004119/0.7178, allocations: 266.6 kB / 0.7801 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.7188, allocations: 0.7706 MB / 0.7809 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005957/0.7248, allocations: 2.824 MB / 0.7836 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7248, allocations: 0 / 0.7836 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7248, allocations: 0 / 0.7836 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.263e-05/0.7249, allocations: 0 / 0.7836 GB, free: 9.238 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.00495/0.7299, allocations: 2.019 MB / 0.7856 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.7299, allocations: 8.031 kB / 0.7856 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.7332, allocations: 413.4 kB / 0.786 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.7354, allocations: 0.9885 MB / 0.787 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004346/0.7359, allocations: 368 kB / 0.7873 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003613/0.7362, allocations: 131.9 kB / 0.7874 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003575/0.7398, allocations: 1.501 MB / 0.7889 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.7399, allocations: 0 / 0.7889 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.74, allocations: 52 kB / 0.789 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.7401, allocations: 28 kB / 0.789 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003076/0.7431, allocations: 1.243 MB / 0.7902 GB, free: 2.285 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.008597/0.7518, allocations: 5.511 MB / 0.7956 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003187/0.755, allocations: 1.384 MB / 0.7969 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.7565, allocations: 0.7574 MB / 0.7977 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/0.7578, allocations: 1.79 MB / 0.7994 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.7578, allocations: 43.56 kB / 0.7995 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=113): time 2.795e-06/0.7578, allocations: 0 / 0.7995 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=113): time 0.009728/0.7675, allocations: 3.485 MB / 0.8029 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.7676, allocations: 68.34 kB / 0.8029 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.7688, allocations: 0.8793 MB / 0.8038 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.7689, allocations: 41.7 kB / 0.8038 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004244/0.7693, allocations: 0.6064 MB / 0.8044 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.7697, allocations: 390.2 kB / 0.8048 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.7698, allocations: 85.67 kB / 0.8049 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.77, allocations: 341.9 kB / 0.8052 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.7713, allocations: 0.5452 MB / 0.8057 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.7726, allocations: 0.6309 MB / 0.8064 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2896/1.062, allocations: 1.147 MB / 0.8075 GB, free: 227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/1.062, allocations: 0.8438 kB / 0.8075 GB, free: 227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006857/1.069, allocations: 2.154 MB / 0.8096 GB, free: 226.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/1.069, allocations: 12.97 kB / 0.8096 GB, free: 226.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.069, allocations: 1.5 kB / 0.8096 GB, free: 226.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/1.071, allocations: 481.8 kB / 0.8101 GB, free: 226.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/1.073, allocations: 306 kB / 0.8103 GB, free: 226.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/1.083, allocations: 7.269 MB / 0.8174 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/1.084, allocations: 167.8 kB / 0.8176 GB, free: 221.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/1.084, allocations: 70.14 kB / 0.8177 GB, free: 221.8 MB / 0.6075 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.0005506/1.085, allocations: 272 kB / 0.8179 GB, free: 221.6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/1.085, allocations: 123.4 kB / 0.818 GB, free: 221.6 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007045/1.092, allocations: 2.96 MB / 0.8209 GB, free: 220.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/1.092, allocations: 18.06 kB / 0.821 GB, free: 220.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/1.092, allocations: 4.391 kB / 0.821 GB, free: 220.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/1.092, allocations: 5.672 kB / 0.821 GB, free: 220.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008299/1.1, allocations: 3.834 MB / 0.8247 GB, free: 219.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.1, allocations: 6.312 kB / 0.8247 GB, free: 219.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/1.102, allocations: 295 kB / 0.825 GB, free: 219.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/1.103, allocations: 487.4 kB / 0.8255 GB, free: 219.2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/1.104, allocations: 48.08 kB / 0.8255 GB, free: 219.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00893/1.112, allocations: 7.272 MB / 0.8326 GB, free: 213.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.112, allocations: 6.188 kB / 0.8326 GB, free: 213.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008095/1.121, allocations: 2.872 MB / 0.8354 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008654/1.121, allocations: 314.8 kB / 0.8357 GB, free: 212.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/1.122, allocations: 27.78 kB / 0.8357 GB, free: 212.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.123, allocations: 113.3 kB / 0.8359 GB, free: 212.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003042/1.123, allocations: 99.97 kB / 0.8359 GB, free: 212 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/1.123, allocations: 71.81 kB / 0.836 GB, free: 212 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009852/1.124, allocations: 0.6091 MB / 0.8366 GB, free: 211.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/1.124, allocations: 0 / 0.8366 GB, free: 211.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002004/1.126, allocations: 0.6011 MB / 0.8372 GB, free: 211.6 MB / 0.6075 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.001641/1.128, allocations: 0.7037 MB / 0.8379 GB, free: 211.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004528/1.132, allocations: 2.067 MB / 0.8399 GB, free: 210.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.132, allocations: 0 / 0.8399 GB, free: 210.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002922/1.135, allocations: 1.497 MB / 0.8414 GB, free: 209.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/1.137, allocations: 285.1 kB / 0.8416 GB, free: 209.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/1.142, allocations: 3.858 MB / 0.8454 GB, free: 207.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/1.143, allocations: 1.194 MB / 0.8466 GB, free: 206.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001892/1.145, allocations: 0.8275 MB / 0.8474 GB, free: 205.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005639/1.145, allocations: 189 kB / 0.8476 GB, free: 205.7 MB / 0.6075 GB Notification: Performance of SimCode: time 1.012e-06/1.145, allocations: 0 / 0.8476 GB, free: 205.7 MB / 0.6075 GB Notification: Performance of Templates: time 0.03407/1.179, allocations: 24.1 MB / 0.8711 GB, free: 184.4 MB / 0.6075 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