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.005732/0.005732, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.001118/0.001118, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7274/0.7274, allocations: 93.7 MB / 384.2 MB, free: 5.219 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 87.86 kB / 0.5204 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3414, allocations: 68.25 MB / 0.5871 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.654/0.9954, allocations: 307.8 MB / 0.8877 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04431/1.04, allocations: 38.01 MB / 0.9248 GB, free: 8.945 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003482/1.043, allocations: 107.3 kB / 0.9249 GB, free: 8.84 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004604/1.048, allocations: 1.417 MB / 0.9263 GB, free: 7.414 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01048/1.058, allocations: 3.354 MB / 0.9296 GB, free: 4.043 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01046/1.069, allocations: 3.429 MB / 0.9329 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006452/1.075, allocations: 3.815 MB / 0.9366 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002166/1.078, allocations: 0.8371 MB / 0.9375 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006427/1.084, allocations: 2.351 MB / 0.9398 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002802/1.087, allocations: 1.474 MB / 0.9412 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007114/1.088, allocations: 232 kB / 0.9414 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01514/1.103, allocations: 6.705 MB / 0.948 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001012/1.104, allocations: 0.5797 MB / 0.9485 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00198/1.106, allocations: 1.414 MB / 0.9499 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.013/1.119, allocations: 5.045 MB / 0.9548 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.119, allocations: 0 / 0.9548 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.743e-06/1.119, allocations: 0 / 0.9548 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.601e-05/1.119, allocations: 0 / 0.9548 GB, free: 10.04 MB / 0.7012 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.008518/1.128, allocations: 3.776 MB / 0.9585 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.128, allocations: 8.031 kB / 0.9585 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00477/1.132, allocations: 0.6459 MB / 0.9592 GB, free: 5.531 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003809/1.136, allocations: 1.805 MB / 0.9609 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004677/1.137, allocations: 413.7 kB / 0.9613 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004021/1.137, allocations: 215.9 kB / 0.9615 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005003/1.142, allocations: 2.319 MB / 0.9638 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.294e-05/1.142, allocations: 3.938 kB / 0.9638 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/1.142, allocations: 87.94 kB / 0.9639 GB, free: 488 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/1.142, allocations: 72.05 kB / 0.9639 GB, free: 412 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00414/1.147, allocations: 1.882 MB / 0.9658 GB, free: 14.5 MB / 0.7169 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.01355/1.16, allocations: 9.286 MB / 0.9749 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004494/1.165, allocations: 1.961 MB / 0.9768 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002227/1.167, allocations: 1.073 MB / 0.9778 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001968/1.169, allocations: 2.611 MB / 0.9804 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/1.169, allocations: 52.55 kB / 0.9804 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=174): time 4.198e-06/1.169, allocations: 0 / 0.9804 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=176): time 0.01805/1.187, allocations: 6.697 MB / 0.987 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/1.187, allocations: 77.34 kB / 0.987 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002446/1.19, allocations: 1.557 MB / 0.9885 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002072/1.19, allocations: 53.7 kB / 0.9886 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008399/1.191, allocations: 1.066 MB / 0.9896 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006261/1.191, allocations: 0.6274 MB / 0.9903 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006763/1.192, allocations: 327.5 kB / 0.9906 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.192, allocations: 301.1 kB / 0.9909 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/1.194, allocations: 0.6988 MB / 0.9915 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/1.196, allocations: 0.8489 MB / 0.9924 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/1.199, allocations: 1.581 MB / 0.9939 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.199, allocations: 0 / 0.9939 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007404/1.207, allocations: 2.736 MB / 0.9966 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/1.207, allocations: 8 kB / 0.9966 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.207, allocations: 4.094 kB / 0.9966 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002037/1.209, allocations: 0.5564 MB / 0.9971 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/1.211, allocations: 431.4 kB / 0.9975 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/1.225, allocations: 10.14 MB / 1.007 GB, free: 1.355 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/1.227, allocations: 92.02 kB / 1.008 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005374/1.228, allocations: 127.9 kB / 1.008 GB, free: 1.141 MB / 0.7481 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.00133/1.229, allocations: 386.4 kB / 1.008 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008197/1.23, allocations: 230.5 kB / 1.008 GB, free: 0.5273 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/1.24, allocations: 4.072 MB / 1.012 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/1.24, allocations: 23.94 kB / 1.012 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.259e-05/1.24, allocations: 8 kB / 1.012 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/1.24, allocations: 11.97 kB / 1.012 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/1.254, allocations: 5.299 MB / 1.017 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/1.254, allocations: 4 kB / 1.017 GB, free: 6.969 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/1.256, allocations: 411.7 kB / 1.018 GB, free: 6.566 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002025/1.258, allocations: 0.5688 MB / 1.018 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003498/1.258, allocations: 83.94 kB / 1.018 GB, free: 5.902 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3262/1.585, allocations: 10.12 MB / 1.028 GB, free: 320.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.585, allocations: 1.438 kB / 1.028 GB, free: 320.3 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009721/1.594, allocations: 3.775 MB / 1.032 GB, free: 319.6 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/1.596, allocations: 445.9 kB / 1.032 GB, free: 319.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003232/1.596, allocations: 40.42 kB / 1.033 GB, free: 319.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/1.597, allocations: 89.83 kB / 1.033 GB, free: 319.3 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005439/1.598, allocations: 164.7 kB / 1.033 GB, free: 319.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003062/1.598, allocations: 111.3 kB / 1.033 GB, free: 319.3 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001825/1.6, allocations: 1.052 MB / 1.034 GB, free: 318.9 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.11e-07/1.6, allocations: 3.531 kB / 1.034 GB, free: 318.9 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003265/1.603, allocations: 0.8911 MB / 1.035 GB, free: 318.8 MB / 0.7637 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.001789/1.605, allocations: 1.048 MB / 1.036 GB, free: 318.6 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005378/1.61, allocations: 2.692 MB / 1.038 GB, free: 317.4 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.61, allocations: 3.125 kB / 1.038 GB, free: 317.4 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003572/1.614, allocations: 1.913 MB / 1.04 GB, free: 316.4 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/1.617, allocations: 0.5812 MB / 1.041 GB, free: 316.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008113/1.625, allocations: 4.954 MB / 1.046 GB, free: 314 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.626, allocations: 1.583 MB / 1.047 GB, free: 313.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002934/1.629, allocations: 1.448 MB / 1.049 GB, free: 313 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008421/1.63, allocations: 321.5 kB / 1.049 GB, free: 312.9 MB / 0.7637 GB Notification: Performance of SimCode: time 6.51e-07/1.63, allocations: 0 / 1.049 GB, free: 312.9 MB / 0.7637 GB Notification: Performance of Templates: time 0.05924/1.689, allocations: 42.97 MB / 1.091 GB, free: 272.7 MB / 0.7637 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches