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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_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.0014/0.0014, allocations: 108 kB / 15.61 MB, free: 152 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.001394/0.001394, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.648/1.648, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9463/0.9463, allocations: 91.19 MB / 381.6 MB, free: 9.418 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 79.56 kB / 460.4 MB, free: 23.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2045, allocations: 67.69 MB / 0.5157 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.8319/1.036, allocations: 307.7 MB / 0.8162 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.668/1.704, allocations: 37.93 MB / 0.8533 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004537/1.709, allocations: 97.81 kB / 0.8534 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.006486/1.716, allocations: 1.401 MB / 0.8548 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01454/1.73, allocations: 3.327 MB / 0.858 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01414/1.744, allocations: 3.436 MB / 0.8614 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0102/1.755, allocations: 3.718 MB / 0.865 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003126/1.758, allocations: 0.8247 MB / 0.8658 GB, free: 16.46 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008618/1.766, allocations: 2.305 MB / 0.868 GB, free: 16.44 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005267/1.772, allocations: 1.472 MB / 0.8695 GB, free: 16.27 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001042/1.773, allocations: 232.2 kB / 0.8697 GB, free: 16.27 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02179/1.795, allocations: 6.658 MB / 0.8762 GB, free: 16.15 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001975/1.797, allocations: 0.5707 MB / 0.8768 GB, free: 16.04 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003628/1.8, allocations: 1.398 MB / 0.8781 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02025/1.821, allocations: 4.896 MB / 0.8829 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/1.821, allocations: 0 / 0.8829 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.424e-06/1.821, allocations: 0.8438 kB / 0.8829 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001469/1.821, allocations: 0 / 0.8829 GB, free: 14.88 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.01213/1.833, allocations: 3.619 MB / 0.8864 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/1.833, allocations: 11 kB / 0.8865 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004685/1.834, allocations: 290.9 kB / 0.8867 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00484/1.838, allocations: 0.6016 MB / 0.8873 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/1.843, allocations: 1.594 MB / 0.8889 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000724/1.844, allocations: 409.4 kB / 0.8893 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008175/1.845, allocations: 215 kB / 0.8895 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005905/1.851, allocations: 2.316 MB / 0.8917 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.853e-05/1.851, allocations: 0 / 0.8917 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/1.851, allocations: 89.5 kB / 0.8918 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/1.851, allocations: 79.66 kB / 0.8919 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004599/1.856, allocations: 1.877 MB / 0.8937 GB, free: 12.03 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.01951/1.876, allocations: 9.319 MB / 0.9028 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004946/1.881, allocations: 1.974 MB / 0.9048 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002271/1.883, allocations: 1.052 MB / 0.9058 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002446/1.885, allocations: 2.613 MB / 0.9083 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/1.885, allocations: 51.81 kB / 0.9084 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=174): time 4.328e-06/1.885, allocations: 0 / 0.9084 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=176): time 0.01896/1.904, allocations: 6.645 MB / 0.9149 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/1.905, allocations: 79.42 kB / 0.915 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/1.908, allocations: 1.504 MB / 0.9164 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003516/1.908, allocations: 54.02 kB / 0.9165 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008897/1.909, allocations: 1.025 MB / 0.9175 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007837/1.91, allocations: 0.5987 MB / 0.9181 GB, free: 216 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006251/1.91, allocations: 315.6 kB / 0.9184 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.91, allocations: 304.8 kB / 0.9186 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/1.912, allocations: 0.7014 MB / 0.9193 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/1.914, allocations: 0.8521 MB / 0.9202 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003616/1.918, allocations: 1.58 MB / 0.9217 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.918, allocations: 0 / 0.9217 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007977/1.926, allocations: 2.715 MB / 0.9244 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/1.926, allocations: 8 kB / 0.9244 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/1.926, allocations: 0 / 0.9244 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002069/1.928, allocations: 0.5716 MB / 0.9249 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002294/1.93, allocations: 430.3 kB / 0.9253 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/1.946, allocations: 10.14 MB / 0.9352 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/1.948, allocations: 87.91 kB / 0.9353 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004052/1.949, allocations: 126.2 kB / 0.9354 GB, free: 1.016 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.001628/1.95, allocations: 375 kB / 0.9358 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008008/1.951, allocations: 216.4 kB / 0.936 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/1.961, allocations: 4.072 MB / 0.94 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/1.961, allocations: 23.94 kB / 0.94 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/1.961, allocations: 4 kB / 0.94 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.985e-05/1.961, allocations: 7.969 kB / 0.94 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/1.976, allocations: 5.292 MB / 0.9452 GB, free: 8.066 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/1.976, allocations: 6.531 kB / 0.9452 GB, free: 8.062 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002325/1.979, allocations: 409.5 kB / 0.9456 GB, free: 7.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002188/1.981, allocations: 0.5738 MB / 0.9461 GB, free: 7.09 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002936/1.981, allocations: 75.95 kB / 0.9462 GB, free: 7.016 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01544/1.997, allocations: 10.14 MB / 0.9561 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.997, allocations: 3.938 kB / 0.9561 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/2.007, allocations: 3.745 MB / 0.9598 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/2.008, allocations: 438.1 kB / 0.9602 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004223/2.009, allocations: 43.98 kB / 0.9602 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/2.01, allocations: 79.94 kB / 0.9603 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000431/2.011, allocations: 160.3 kB / 0.9605 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/2.011, allocations: 123.9 kB / 0.9606 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001716/2.013, allocations: 1.014 MB / 0.9616 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.02e-07/2.013, allocations: 3.938 kB / 0.9616 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003869/2.017, allocations: 0.8746 MB / 0.9624 GB, free: 5.699 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.01193/2.028, allocations: 5.254 MB / 0.9676 GB, free: 0.5234 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008549/2.037, allocations: 2.85 MB / 0.9704 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/2.037, allocations: 0 / 0.9704 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004187/2.041, allocations: 1.907 MB / 0.9722 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003161/2.044, allocations: 0.5714 MB / 0.9728 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0446/2.089, allocations: 19.3 MB / 0.9916 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/2.091, allocations: 1.566 MB / 0.9931 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004724/2.096, allocations: 1.446 MB / 0.9946 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0025/2.098, allocations: 1.163 MB / 0.9957 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of SimCode: time 1.413e-06/2.098, allocations: 0 / 0.9957 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1571/2.255, allocations: 63.59 MB / 1.058 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/16.24, allocations: 10.66 kB / 1.058 GB, free: 3.418 MB / 0.7794 GB (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 & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches