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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.001135/0.001135, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6516/0.6516, allocations: 89.48 MB / 379.9 MB, free: 10.98 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 89.22 kB / 458.2 MB, free: 23.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1149, allocations: 67.3 MB / 0.5132 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.5501/0.6651, allocations: 307.3 MB / 0.8133 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.3442/1.009, allocations: 37.81 MB / 0.8502 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/1.012, allocations: 46.84 kB / 0.8503 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003438/1.015, allocations: 1.386 MB / 0.8516 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008183/1.023, allocations: 3.225 MB / 0.8548 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008639/1.032, allocations: 3.429 MB / 0.8581 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006379/1.038, allocations: 3.464 MB / 0.8615 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/1.04, allocations: 0.7751 MB / 0.8623 GB, free: 16.5 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004697/1.045, allocations: 2.182 MB / 0.8644 GB, free: 16.48 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/1.047, allocations: 1.422 MB / 0.8658 GB, free: 16.45 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005443/1.048, allocations: 232.2 kB / 0.866 GB, free: 16.45 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01207/1.06, allocations: 6.659 MB / 0.8725 GB, free: 16.32 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007236/1.06, allocations: 0.5606 MB / 0.8731 GB, free: 16.23 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001798/1.062, allocations: 1.308 MB / 0.8743 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0089/1.071, allocations: 4.635 MB / 0.8789 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.071, allocations: 0 / 0.8789 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.673e-06/1.071, allocations: 0.8438 kB / 0.8789 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.452e-05/1.071, allocations: 0 / 0.8789 GB, free: 15.21 MB / 0.6387 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.006592/1.078, allocations: 3.329 MB / 0.8821 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/1.078, allocations: 15.3 kB / 0.8821 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004137/1.082, allocations: 0.5686 MB / 0.8827 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/1.084, allocations: 1.219 MB / 0.8839 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000386/1.085, allocations: 413.4 kB / 0.8843 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000372/1.085, allocations: 212.7 kB / 0.8845 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004062/1.089, allocations: 2.32 MB / 0.8867 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.015e-05/1.089, allocations: 5.5 kB / 0.8867 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/1.089, allocations: 86.64 kB / 0.8868 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-05/1.089, allocations: 76.86 kB / 0.8869 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003503/1.093, allocations: 1.879 MB / 0.8887 GB, free: 12.62 MB / 0.6387 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.01056/1.103, allocations: 9.224 MB / 0.8977 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003749/1.107, allocations: 1.969 MB / 0.8997 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001788/1.109, allocations: 1.05 MB / 0.9007 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/1.111, allocations: 2.616 MB / 0.9032 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/1.111, allocations: 54.66 kB / 0.9033 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=174): time 3.306e-06/1.111, allocations: 0 / 0.9033 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of matching and sorting (n=176): time 0.01451/1.125, allocations: 6.558 MB / 0.9097 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/1.125, allocations: 68.69 kB / 0.9098 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/1.127, allocations: 1.198 MB / 0.9109 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002295/1.127, allocations: 59.27 kB / 0.911 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005049/1.127, allocations: 0.8741 MB / 0.9118 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005062/1.128, allocations: 0.5941 MB / 0.9124 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004883/1.128, allocations: 324.8 kB / 0.9127 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.545e-05/1.129, allocations: 301.1 kB / 0.913 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/1.13, allocations: 0.6994 MB / 0.9137 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/1.132, allocations: 0.8492 MB / 0.9145 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003055/1.135, allocations: 1.579 MB / 0.9161 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.135, allocations: 0 / 0.9161 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006873/1.142, allocations: 2.682 MB / 0.9187 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/1.142, allocations: 9.875 kB / 0.9187 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.142, allocations: 0 / 0.9187 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001898/1.144, allocations: 0.5736 MB / 0.9193 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/1.146, allocations: 423.2 kB / 0.9197 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/1.158, allocations: 10.14 MB / 0.9296 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.16, allocations: 85.91 kB / 0.9297 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002551/1.16, allocations: 123.2 kB / 0.9298 GB, free: 4.238 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.0008723/1.161, allocations: 365.2 kB / 0.9301 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004586/1.161, allocations: 177.7 kB / 0.9303 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00921/1.17, allocations: 4.056 MB / 0.9343 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/1.17, allocations: 16 kB / 0.9343 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/1.17, allocations: 12 kB / 0.9343 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/1.171, allocations: 7.969 kB / 0.9343 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/1.181, allocations: 5.19 MB / 0.9394 GB, free: 12.81 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.181, allocations: 0 / 0.9394 GB, free: 12.81 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/1.183, allocations: 412.6 kB / 0.9397 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/1.185, allocations: 0.5688 MB / 0.9403 GB, free: 11.95 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002451/1.186, allocations: 78.31 kB / 0.9404 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0172/1.203, allocations: 10.14 MB / 0.9503 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.203, allocations: 2.438 kB / 0.9503 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/1.217, allocations: 3.71 MB / 0.9539 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/1.219, allocations: 410.5 kB / 0.9543 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006417/1.22, allocations: 40 kB / 0.9543 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/1.222, allocations: 87.92 kB / 0.9544 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005262/1.222, allocations: 160.2 kB / 0.9546 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003334/1.222, allocations: 112 kB / 0.9547 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001971/1.224, allocations: 0.8261 MB / 0.9555 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.61e-07/1.224, allocations: 0 / 0.9555 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004102/1.229, allocations: 0.8707 MB / 0.9563 GB, free: 10.89 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.003086/1.232, allocations: 1.057 MB / 0.9574 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.243, allocations: 2.846 MB / 0.9601 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.243, allocations: 0 / 0.9601 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005354/1.249, allocations: 1.912 MB / 0.962 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/1.251, allocations: 0.5415 MB / 0.9625 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008612/1.26, allocations: 4.485 MB / 0.9669 GB, free: 124 kB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/1.261, allocations: 1.479 MB / 0.9684 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.003466/1.265, allocations: 1.401 MB / 0.9697 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.266, allocations: 291.2 kB / 0.97 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of SimCode: time 5.91e-07/1.266, allocations: 0 / 0.97 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of Templates: time 0.06314/1.329, allocations: 41.8 MB / 1.011 GB, free: 3.633 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches