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.00147/0.00147, allocations: 100.1 kB / 15.88 MB, free: 12 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.001706/0.001706, allocations: 199.6 kB / 16.8 MB, free: 6.828 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.301/1.301, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6115/0.6115, allocations: 89.52 MB / 380.1 MB, free: 11.24 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 74.97 kB / 458.2 MB, free: 23.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09533/0.09685, allocations: 67.32 MB / 0.5132 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.4777/0.5746, allocations: 306.7 MB / 0.8127 GB, free: 340 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.3134/0.888, allocations: 38.16 MB / 0.85 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00216/0.8902, allocations: 51.25 kB / 0.85 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002937/0.8932, allocations: 1.222 MB / 0.8512 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007265/0.9005, allocations: 2.93 MB / 0.8541 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007438/0.9079, allocations: 2.981 MB / 0.857 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004531/0.9125, allocations: 4.016 MB / 0.8609 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.9135, allocations: 0.7119 MB / 0.8616 GB, free: 16.41 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003639/0.9172, allocations: 2.138 MB / 0.8637 GB, free: 16.39 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.9187, allocations: 1.392 MB / 0.8651 GB, free: 16.38 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002678/0.9189, allocations: 155.9 kB / 0.8652 GB, free: 16.38 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01203/0.931, allocations: 7.075 MB / 0.8721 GB, free: 16.26 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006613/0.9317, allocations: 493.2 kB / 0.8726 GB, free: 16.17 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.9334, allocations: 1.243 MB / 0.8738 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004982/0.9384, allocations: 3.398 MB / 0.8771 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.9384, allocations: 4 kB / 0.8771 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.82e-07/0.9384, allocations: 0 / 0.8771 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.964e-05/0.9384, allocations: 0 / 0.8771 GB, free: 15.46 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.006414/0.9449, allocations: 3.33 MB / 0.8804 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.9449, allocations: 10.56 kB / 0.8804 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004131/0.949, allocations: 0.567 MB / 0.881 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.9508, allocations: 1.214 MB / 0.8821 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/0.9512, allocations: 413.1 kB / 0.8825 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/0.9515, allocations: 214.4 kB / 0.8827 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003858/0.9554, allocations: 2.317 MB / 0.885 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/0.9554, allocations: 2.625 kB / 0.885 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.9556, allocations: 87.75 kB / 0.8851 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.973e-05/0.9557, allocations: 81.75 kB / 0.8852 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/0.9592, allocations: 1.875 MB / 0.887 GB, free: 12.85 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.01033/0.9695, allocations: 9.197 MB / 0.896 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003828/0.9733, allocations: 1.961 MB / 0.8979 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/0.9753, allocations: 1.056 MB / 0.8989 GB, free: 7.695 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/0.977, allocations: 2.611 MB / 0.9015 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.977, allocations: 52.39 kB / 0.9015 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=174): time 4.549e-06/0.977, allocations: 3.984 kB / 0.9015 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of matching and sorting (n=176): time 0.01516/0.9922, allocations: 6.558 MB / 0.9079 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.9923, allocations: 72.47 kB / 0.908 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.9937, allocations: 1.206 MB / 0.9092 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.9938, allocations: 54.98 kB / 0.9092 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005021/0.9944, allocations: 0.874 MB / 0.9101 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004426/0.9948, allocations: 0.5937 MB / 0.9107 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005013/0.9953, allocations: 319 kB / 0.911 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.351e-05/0.9954, allocations: 305.1 kB / 0.9113 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.9969, allocations: 0.7002 MB / 0.9119 GB, free: 0.9727 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.9984, allocations: 0.8486 MB / 0.9128 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003006/1.001, allocations: 1.58 MB / 0.9143 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.001, allocations: 0 / 0.9143 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006438/1.008, allocations: 2.687 MB / 0.9169 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/1.008, allocations: 4.109 kB / 0.9169 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.008, allocations: 7.938 kB / 0.917 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001788/1.01, allocations: 0.5716 MB / 0.9175 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/1.012, allocations: 421 kB / 0.9179 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/1.023, allocations: 9.378 MB / 0.9271 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/1.025, allocations: 130.2 kB / 0.9272 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002412/1.025, allocations: 127.9 kB / 0.9273 GB, free: 5.422 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.0008179/1.026, allocations: 354.8 kB / 0.9277 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/1.026, allocations: 174.2 kB / 0.9278 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008882/1.035, allocations: 4.04 MB / 0.9318 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/1.035, allocations: 16 kB / 0.9318 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/1.035, allocations: 15.92 kB / 0.9318 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/1.035, allocations: 7.969 kB / 0.9318 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/1.046, allocations: 5.19 MB / 0.9369 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.046, allocations: 0 / 0.9369 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/1.048, allocations: 405.8 kB / 0.9373 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/1.05, allocations: 0.5819 MB / 0.9378 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/1.05, allocations: 72.77 kB / 0.9379 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/1.061, allocations: 9.367 MB / 0.947 GB, free: 4.355 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.438e-05/1.061, allocations: 6.469 kB / 0.9471 GB, free: 4.352 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008905/1.07, allocations: 3.716 MB / 0.9507 GB, free: 0.8281 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008583/1.071, allocations: 410.5 kB / 0.9511 GB, free: 416 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/1.071, allocations: 43.98 kB / 0.9511 GB, free: 372 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/1.073, allocations: 131.7 kB / 0.9512 GB, free: 240 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003328/1.073, allocations: 160.2 kB / 0.9514 GB, free: 84 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/1.073, allocations: 112 kB / 0.9515 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001073/1.074, allocations: 0.8339 MB / 0.9523 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/1.074, allocations: 0 / 0.9523 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002397/1.077, allocations: 0.8669 MB / 0.9532 GB, free: 14.27 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.001867/1.079, allocations: 1.053 MB / 0.9542 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0056/1.084, allocations: 2.688 MB / 0.9568 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.084, allocations: 0 / 0.9568 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003703/1.088, allocations: 1.906 MB / 0.9587 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/1.09, allocations: 490.9 kB / 0.9591 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008512/1.099, allocations: 5.467 MB / 0.9645 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000982/1.1, allocations: 1.471 MB / 0.9659 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/1.101, allocations: 371.1 kB / 0.9663 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of SimCode: time 8.62e-07/1.101, allocations: 0 / 0.9663 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of Templates: time 0.07647/1.178, allocations: 78.66 MB / 1.043 GB, free: 2.371 MB / 0.7637 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