Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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_parallel,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|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,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|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001569/0.001569, allocations: 189.8 kB / 17.2 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6836/0.6836, allocations: 91.19 MB / 382.2 MB, free: 7.594 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 87.86 kB / 461 MB, free: 9.066 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1287, allocations: 67.67 MB / 0.5163 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.8272/0.9559, allocations: 307.7 MB / 0.8168 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03389/0.9898, allocations: 37.96 MB / 0.8539 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003451/0.9934, allocations: 97.34 kB / 0.8539 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003648/0.9971, allocations: 1.411 MB / 0.8553 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008954/1.006, allocations: 3.317 MB / 0.8586 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008835/1.015, allocations: 3.433 MB / 0.8619 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005691/1.021, allocations: 3.723 MB / 0.8656 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/1.022, allocations: 0.8268 MB / 0.8664 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004388/1.026, allocations: 2.302 MB / 0.8686 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/1.028, allocations: 1.471 MB / 0.87 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000327/1.028, allocations: 232 kB / 0.8703 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01348/1.042, allocations: 6.658 MB / 0.8768 GB, free: 152 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009077/1.043, allocations: 0.577 MB / 0.8773 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002485/1.045, allocations: 1.395 MB / 0.8787 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01309/1.058, allocations: 4.884 MB / 0.8835 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.058, allocations: 4 kB / 0.8835 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/1.058, allocations: 0 / 0.8835 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.725e-05/1.058, allocations: 4 kB / 0.8835 GB, free: 9.652 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.00764/1.066, allocations: 3.62 MB / 0.887 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.066, allocations: 12.03 kB / 0.887 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004461/1.071, allocations: 0.6053 MB / 0.8876 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002829/1.074, allocations: 1.576 MB / 0.8891 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004492/1.074, allocations: 416.9 kB / 0.8895 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003747/1.074, allocations: 215.9 kB / 0.8897 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004399/1.079, allocations: 2.321 MB / 0.892 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.733e-05/1.079, allocations: 3.938 kB / 0.892 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/1.079, allocations: 84 kB / 0.8921 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.759e-05/1.079, allocations: 82.61 kB / 0.8922 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004002/1.083, allocations: 1.882 MB / 0.894 GB, free: 14.75 MB / 0.6231 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.01183/1.095, allocations: 9.32 MB / 0.9031 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004286/1.099, allocations: 1.966 MB / 0.905 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002043/1.101, allocations: 1.055 MB / 0.9061 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001746/1.103, allocations: 2.61 MB / 0.9086 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/1.103, allocations: 56.16 kB / 0.9087 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=174): time 3.446e-06/1.103, allocations: 0 / 0.9087 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=176): time 0.0165/1.12, allocations: 6.639 MB / 0.9152 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/1.12, allocations: 81 kB / 0.9152 GB, free: 7.648 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/1.122, allocations: 1.502 MB / 0.9167 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/1.122, allocations: 57.7 kB / 0.9168 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00072/1.123, allocations: 1.027 MB / 0.9178 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004601/1.123, allocations: 0.5938 MB / 0.9183 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005237/1.124, allocations: 319.5 kB / 0.9186 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.309e-05/1.124, allocations: 301.1 kB / 0.9189 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/1.125, allocations: 0.6988 MB / 0.9196 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/1.127, allocations: 0.8451 MB / 0.9204 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/1.13, allocations: 1.584 MB / 0.922 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/1.13, allocations: 0.625 kB / 0.922 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007202/1.138, allocations: 2.716 MB / 0.9246 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/1.138, allocations: 8 kB / 0.9246 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.138, allocations: 3.984 kB / 0.9246 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001874/1.14, allocations: 0.5675 MB / 0.9252 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/1.142, allocations: 423.3 kB / 0.9256 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/1.155, allocations: 10.15 MB / 0.9355 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/1.157, allocations: 87.97 kB / 0.9356 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003764/1.157, allocations: 120 kB / 0.9357 GB, free: 1.93 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (168): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,1,88.9%), (2,17,100.0%), (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.001065/1.158, allocations: 384.9 kB / 0.9361 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006096/1.159, allocations: 213.3 kB / 0.9363 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009646/1.169, allocations: 4.068 MB / 0.9403 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/1.169, allocations: 23.94 kB / 0.9403 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.029e-05/1.169, allocations: 8.812 kB / 0.9403 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.702e-05/1.169, allocations: 7.969 kB / 0.9403 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/1.18, allocations: 5.294 MB / 0.9455 GB, free: 7.934 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.18, allocations: 4 kB / 0.9455 GB, free: 7.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/1.182, allocations: 409.9 kB / 0.9459 GB, free: 7.543 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/1.184, allocations: 0.57 MB / 0.9464 GB, free: 6.965 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001893/1.184, allocations: 82.06 kB / 0.9465 GB, free: 6.887 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/1.197, allocations: 10.13 MB / 0.9564 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.197, allocations: 3.938 kB / 0.9564 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008943/1.206, allocations: 3.756 MB / 0.9601 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009154/1.207, allocations: 438.1 kB / 0.9605 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/1.207, allocations: 40 kB / 0.9605 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.208, allocations: 87.92 kB / 0.9606 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/1.208, allocations: 152.6 kB / 0.9607 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/1.209, allocations: 119.9 kB / 0.9609 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001332/1.21, allocations: 1.014 MB / 0.9618 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/1.21, allocations: 0 / 0.9618 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002488/1.213, allocations: 0.8746 MB / 0.9627 GB, free: 5.582 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB2.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.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 (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00186/1.214, allocations: 1.058 MB / 0.9637 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007898/1.222, allocations: 2.835 MB / 0.9665 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.222, allocations: 3.938 kB / 0.9665 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003869/1.226, allocations: 1.911 MB / 0.9684 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/1.229, allocations: 0.5771 MB / 0.9689 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008753/1.238, allocations: 4.921 MB / 0.9737 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/1.239, allocations: 1.57 MB / 0.9753 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/1.24, allocations: 391.1 kB / 0.9756 GB, free: 8.375 MB / 0.7012 GB Notification: Performance of SimCode: time 7.41e-07/1.24, allocations: 0 / 0.9756 GB, free: 8.375 MB / 0.7012 GB Notification: Performance of Templates: time 0.2879/1.528, allocations: 87.24 MB / 1.061 GB, free: 310.3 MB / 0.7325 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches