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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, 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.001559/0.001559, allocations: 194.3 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.689/1.689, allocations: 222.9 MB / 240.2 MB, free: 4.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9527/0.9527, allocations: 93.72 MB / 384.1 MB, free: 6.926 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.00328/0.003281, allocations: 85.25 kB / 463.5 MB, free: 21.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2518, allocations: 68.27 MB / 0.5193 GB, free: 6.855 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.8499/1.102, allocations: 307.8 MB / 0.8199 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.557/1.659, allocations: 38 MB / 0.857 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00365/1.662, allocations: 104.7 kB / 0.8571 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004698/1.667, allocations: 1.411 MB / 0.8585 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01289/1.68, allocations: 3.359 MB / 0.8618 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01545/1.696, allocations: 3.431 MB / 0.8651 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01073/1.706, allocations: 3.8 MB / 0.8688 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002712/1.709, allocations: 0.8325 MB / 0.8696 GB, free: 16.52 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008224/1.717, allocations: 2.344 MB / 0.8719 GB, free: 16.5 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005158/1.723, allocations: 1.48 MB / 0.8734 GB, free: 16.26 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009139/1.724, allocations: 231.4 kB / 0.8736 GB, free: 16.26 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02205/1.746, allocations: 6.661 MB / 0.8801 GB, free: 16.14 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002356/1.748, allocations: 0.5777 MB / 0.8807 GB, free: 16.03 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005167/1.753, allocations: 1.408 MB / 0.882 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01838/1.772, allocations: 4.931 MB / 0.8868 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/1.772, allocations: 0.9375 kB / 0.8868 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.475e-06/1.772, allocations: 3.938 kB / 0.8869 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.073e-05/1.772, allocations: 3.75 kB / 0.8869 GB, free: 14.85 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.008356/1.78, allocations: 3.671 MB / 0.8904 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.319e-05/1.78, allocations: 10.22 kB / 0.8905 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003533/1.781, allocations: 291.1 kB / 0.8907 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004376/1.785, allocations: 0.6163 MB / 0.8913 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003441/1.789, allocations: 1.639 MB / 0.8929 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004469/1.789, allocations: 411.6 kB / 0.8933 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003406/1.789, allocations: 212.9 kB / 0.8935 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004987/1.794, allocations: 2.324 MB / 0.8958 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/1.794, allocations: 6.344 kB / 0.8958 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/1.795, allocations: 79.34 kB / 0.8959 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/1.795, allocations: 87.11 kB / 0.896 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003993/1.799, allocations: 1.876 MB / 0.8978 GB, free: 11.91 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.01507/1.814, allocations: 9.334 MB / 0.9069 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00472/1.819, allocations: 1.969 MB / 0.9088 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002387/1.821, allocations: 1.055 MB / 0.9099 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002568/1.824, allocations: 2.613 MB / 0.9124 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.098e-05/1.824, allocations: 52.56 kB / 0.9125 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=174): time 3.817e-06/1.824, allocations: 0 / 0.9125 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of matching and sorting (n=176): time 0.01928/1.843, allocations: 6.664 MB / 0.919 GB, free: 0.5117 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/1.843, allocations: 69.41 kB / 0.919 GB, free: 444 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00332/1.847, allocations: 1.562 MB / 0.9206 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005272/1.847, allocations: 54.2 kB / 0.9206 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001061/1.848, allocations: 1.053 MB / 0.9216 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000881/1.849, allocations: 0.6019 MB / 0.9222 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000651/1.85, allocations: 319.4 kB / 0.9225 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001866/1.85, allocations: 311.6 kB / 0.9228 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/1.852, allocations: 0.6944 MB / 0.9235 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001962/1.854, allocations: 0.8481 MB / 0.9243 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/1.858, allocations: 1.579 MB / 0.9259 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/1.858, allocations: 0 / 0.9259 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007815/1.865, allocations: 2.725 MB / 0.9285 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.865, allocations: 8 kB / 0.9285 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.865, allocations: 4 kB / 0.9286 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/1.868, allocations: 0.5659 MB / 0.9291 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/1.87, allocations: 424.5 kB / 0.9295 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/1.886, allocations: 10.14 MB / 0.9394 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002893/1.889, allocations: 87.97 kB / 0.9395 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007009/1.89, allocations: 126.4 kB / 0.9396 GB, free: 14.77 MB / 0.67 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.00178/1.891, allocations: 385.2 kB / 0.94 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/1.892, allocations: 221.2 kB / 0.9402 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/1.904, allocations: 4.079 MB / 0.9442 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/1.904, allocations: 27.94 kB / 0.9442 GB, free: 10.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.313e-05/1.904, allocations: 4 kB / 0.9442 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-05/1.904, allocations: 11.97 kB / 0.9442 GB, free: 10.08 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/1.918, allocations: 5.305 MB / 0.9494 GB, free: 4.738 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/1.918, allocations: 4 kB / 0.9494 GB, free: 4.734 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002249/1.921, allocations: 407 kB / 0.9498 GB, free: 4.352 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/1.923, allocations: 0.5702 MB / 0.9503 GB, free: 3.77 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/1.923, allocations: 83.94 kB / 0.9504 GB, free: 3.688 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01621/1.939, allocations: 10.13 MB / 0.9603 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.939, allocations: 3.938 kB / 0.9603 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/1.95, allocations: 3.761 MB / 0.964 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/1.952, allocations: 442 kB / 0.9644 GB, free: 4.672 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004741/1.952, allocations: 36 kB / 0.9645 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.953, allocations: 87.92 kB / 0.9645 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004223/1.954, allocations: 164.2 kB / 0.9647 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002403/1.954, allocations: 108.1 kB / 0.9648 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001867/1.956, allocations: 1.055 MB / 0.9658 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.1e-07/1.956, allocations: 0 / 0.9658 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003613/1.96, allocations: 0.8785 MB / 0.9667 GB, free: 2.332 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.01279/1.972, allocations: 5.267 MB / 0.9718 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008783/1.981, allocations: 2.846 MB / 0.9746 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/1.981, allocations: 0 / 0.9746 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005283/1.987, allocations: 1.921 MB / 0.9765 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003938/1.99, allocations: 0.5729 MB / 0.977 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0462/2.037, allocations: 19.66 MB / 0.9962 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002289/2.039, allocations: 1.589 MB / 0.9978 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005199/2.044, allocations: 1.435 MB / 0.9992 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002807/2.047, allocations: 1.19 MB / 1 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of SimCode: time 2.044e-06/2.047, allocations: 0 / 1 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1716/2.219, allocations: 64.26 MB / 1.063 GB, free: 14.89 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/16.7, allocations: 7.875 kB / 1.063 GB, free: 14.88 MB / 0.795 GB (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.csv --start-time 0 --stop-time 100 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.csv","/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