Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.001849/0.001849, allocations: 106.5 kB / 15.99 MB, free: 6.352 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.002176/0.002176, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.462/1.462, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.755/0.755, allocations: 93.69 MB / 384.4 MB, free: 5.477 MB / 302.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002492/0.002492, allocations: 71.88 kB / 463.6 MB, free: 6.516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1493, allocations: 68.27 MB / 0.5194 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.8429/0.9923, allocations: 306.3 MB / 0.8185 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03423/1.027, allocations: 38.05 MB / 0.8556 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004173/1.031, allocations: 128 kB / 0.8557 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004416/1.035, allocations: 1.235 MB / 0.857 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/1.045, allocations: 3.098 MB / 0.86 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009998/1.055, allocations: 3.147 MB / 0.8631 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00659/1.062, allocations: 3.816 MB / 0.8668 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/1.064, allocations: 0.8306 MB / 0.8676 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005782/1.07, allocations: 2.457 MB / 0.87 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00302/1.073, allocations: 1.488 MB / 0.8714 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009529/1.074, allocations: 235.8 kB / 0.8717 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01616/1.09, allocations: 7.335 MB / 0.8788 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001169/1.091, allocations: 0.5771 MB / 0.8794 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003103/1.094, allocations: 1.416 MB / 0.8808 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008735/1.103, allocations: 3.664 MB / 0.8844 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.103, allocations: 4 kB / 0.8844 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/1.103, allocations: 0 / 0.8844 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001384/1.103, allocations: 0 / 0.8844 GB, free: 9.375 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.009916/1.113, allocations: 3.668 MB / 0.8879 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.113, allocations: 8.031 kB / 0.888 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004909/1.118, allocations: 0.6242 MB / 0.8886 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003891/1.122, allocations: 1.633 MB / 0.8902 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005455/1.123, allocations: 408.5 kB / 0.8905 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007324/1.123, allocations: 219.9 kB / 0.8908 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006854/1.13, allocations: 2.318 MB / 0.893 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.407e-05/1.13, allocations: 0 / 0.893 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003916/1.131, allocations: 88.75 kB / 0.8931 GB, free: 324 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/1.131, allocations: 87.91 kB / 0.8932 GB, free: 232 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005129/1.136, allocations: 1.877 MB / 0.895 GB, free: 14.34 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.01534/1.151, allocations: 9.3 MB / 0.9041 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004951/1.156, allocations: 1.966 MB / 0.906 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002486/1.159, allocations: 1.055 MB / 0.9071 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002306/1.161, allocations: 2.611 MB / 0.9096 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.324e-05/1.161, allocations: 56.56 kB / 0.9097 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=174): time 4.007e-06/1.161, allocations: 0 / 0.9097 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of matching and sorting (n=176): time 0.019/1.18, allocations: 6.653 MB / 0.9162 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/1.181, allocations: 73.34 kB / 0.9162 GB, free: 7.246 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002481/1.183, allocations: 1.565 MB / 0.9178 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003191/1.183, allocations: 53.69 kB / 0.9178 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009558/1.184, allocations: 1.056 MB / 0.9188 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008299/1.185, allocations: 0.5916 MB / 0.9194 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007585/1.186, allocations: 323.4 kB / 0.9197 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.186, allocations: 305.1 kB / 0.92 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/1.188, allocations: 0.6988 MB / 0.9207 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/1.19, allocations: 0.8516 MB / 0.9215 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003655/1.193, allocations: 1.576 MB / 0.9231 GB, free: 140 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/1.193, allocations: 3.109 kB / 0.9231 GB, free: 140 kB / 0.6387 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007478/1.201, allocations: 2.725 MB / 0.9257 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/1.201, allocations: 8.625 kB / 0.9257 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.201, allocations: 0.9688 kB / 0.9257 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/1.203, allocations: 0.5665 MB / 0.9263 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/1.205, allocations: 425.2 kB / 0.9267 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/1.219, allocations: 10.15 MB / 0.9366 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/1.221, allocations: 131.8 kB / 0.9367 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004565/1.222, allocations: 120 kB / 0.9368 GB, free: 1.398 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.00116/1.223, allocations: 384.6 kB / 0.9372 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007014/1.223, allocations: 221.2 kB / 0.9374 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/1.234, allocations: 4.072 MB / 0.9414 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/1.234, allocations: 20 kB / 0.9414 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.859e-05/1.234, allocations: 11.94 kB / 0.9414 GB, free: 12.74 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-05/1.234, allocations: 7.969 kB / 0.9414 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/1.247, allocations: 5.303 MB / 0.9466 GB, free: 7.383 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/1.248, allocations: 4.219 kB / 0.9466 GB, free: 7.379 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/1.25, allocations: 406.8 kB / 0.947 GB, free: 6.996 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001952/1.252, allocations: 0.5758 MB / 0.9476 GB, free: 6.41 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003556/1.252, allocations: 75.94 kB / 0.9476 GB, free: 6.336 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/1.266, allocations: 10.13 MB / 0.9575 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.266, allocations: 12.97 kB / 0.9575 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009934/1.276, allocations: 3.763 MB / 0.9612 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/1.277, allocations: 442 kB / 0.9616 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005637/1.278, allocations: 36 kB / 0.9617 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/1.279, allocations: 131.7 kB / 0.9618 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004321/1.28, allocations: 164.9 kB / 0.962 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002948/1.28, allocations: 115.9 kB / 0.9621 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001805/1.282, allocations: 1.051 MB / 0.9631 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.71e-07/1.282, allocations: 0 / 0.9631 GB, free: 5.805 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003395/1.285, allocations: 0.8746 MB / 0.964 GB, free: 4.93 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.00246/1.288, allocations: 1.055 MB / 0.965 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008481/1.296, allocations: 2.84 MB / 0.9678 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/1.296, allocations: 4 kB / 0.9678 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004437/1.301, allocations: 1.909 MB / 0.9696 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/1.304, allocations: 0.5833 MB / 0.9702 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/1.316, allocations: 5.98 MB / 0.976 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/1.318, allocations: 1.593 MB / 0.9776 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001895/1.32, allocations: 395.1 kB / 0.978 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of SimCode: time 1.273e-06/1.32, allocations: 0 / 0.978 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of Templates: time 0.3158/1.636, allocations: 88.71 MB / 1.065 GB, free: 280.8 MB / 0.7169 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches