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.006972/0.006972, allocations: 101.9 kB / 15.73 MB, free: 6.496 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.001541/0.001541, allocations: 199.1 kB / 16.68 MB, free: 6.375 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.682/1.682, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8864/0.8864, allocations: 93.71 MB / 384.3 MB, free: 6.887 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 79.88 kB / 0.52 GB, free: 6.266 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1994, allocations: 68.27 MB / 0.5866 GB, free: 1.918 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 1.463/1.662, allocations: 307.8 MB / 0.8872 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.05157/1.714, allocations: 38.01 MB / 0.9243 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005129/1.719, allocations: 106.1 kB / 0.9244 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.006822/1.726, allocations: 1.413 MB / 0.9258 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01537/1.742, allocations: 3.365 MB / 0.9291 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01462/1.756, allocations: 3.423 MB / 0.9324 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009018/1.765, allocations: 3.825 MB / 0.9362 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002758/1.768, allocations: 0.8271 MB / 0.937 GB, free: 17.07 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008194/1.776, allocations: 2.35 MB / 0.9393 GB, free: 16.96 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00427/1.781, allocations: 1.472 MB / 0.9407 GB, free: 16.61 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001468/1.782, allocations: 231.3 kB / 0.9409 GB, free: 16.61 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01982/1.802, allocations: 6.72 MB / 0.9475 GB, free: 16.42 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001567/1.804, allocations: 0.5796 MB / 0.9481 GB, free: 16.3 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004422/1.808, allocations: 1.408 MB / 0.9494 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02061/1.829, allocations: 5.037 MB / 0.9544 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.517e-05/1.829, allocations: 2.594 kB / 0.9544 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.476e-06/1.829, allocations: 0 / 0.9544 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002813/1.829, allocations: 0 / 0.9544 GB, free: 15.08 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.01735/1.846, allocations: 3.781 MB / 0.9581 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/1.847, allocations: 8.969 kB / 0.9581 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007141/1.847, allocations: 299 kB / 0.9584 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005124/1.852, allocations: 0.624 MB / 0.959 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004945/1.857, allocations: 1.821 MB / 0.9607 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005325/1.858, allocations: 408.6 kB / 0.9611 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004594/1.858, allocations: 219.1 kB / 0.9613 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005581/1.864, allocations: 2.323 MB / 0.9636 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/1.864, allocations: 0 / 0.9636 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/1.864, allocations: 82.38 kB / 0.9637 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.977e-05/1.864, allocations: 75.89 kB / 0.9638 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004848/1.869, allocations: 1.882 MB / 0.9656 GB, free: 10.27 MB / 0.7012 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.01705/1.886, allocations: 9.291 MB / 0.9747 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005189/1.892, allocations: 1.962 MB / 0.9766 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002475/1.894, allocations: 1.069 MB / 0.9776 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002923/1.897, allocations: 2.609 MB / 0.9802 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/1.897, allocations: 59.3 kB / 0.9802 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=174): time 4.288e-06/1.897, allocations: 0 / 0.9802 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.02086/1.918, allocations: 6.698 MB / 0.9868 GB, free: 9.012 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/1.918, allocations: 73.34 kB / 0.9868 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/1.921, allocations: 1.559 MB / 0.9884 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003292/1.921, allocations: 57.45 kB / 0.9884 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/1.923, allocations: 1.078 MB / 0.9895 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007879/1.923, allocations: 0.6138 MB / 0.9901 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009346/1.924, allocations: 323.5 kB / 0.9904 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002339/1.925, allocations: 305.1 kB / 0.9907 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/1.927, allocations: 0.7013 MB / 0.9914 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002108/1.929, allocations: 0.8489 MB / 0.9922 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004332/1.933, allocations: 1.579 MB / 0.9937 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/1.933, allocations: 4 kB / 0.9937 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.009494/1.943, allocations: 2.734 MB / 0.9964 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.411e-05/1.943, allocations: 11.94 kB / 0.9964 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.943e-05/1.943, allocations: 0 / 0.9964 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002327/1.945, allocations: 0.5687 MB / 0.997 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/1.948, allocations: 423 kB / 0.9974 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/1.966, allocations: 10.14 MB / 1.007 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/1.968, allocations: 83.97 kB / 1.007 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000487/1.968, allocations: 120 kB / 1.007 GB, free: 3.492 MB / 0.7325 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.001456/1.97, allocations: 387.7 kB / 1.008 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006531/1.971, allocations: 230.4 kB / 1.008 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/1.982, allocations: 4.083 MB / 1.012 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/1.982, allocations: 16 kB / 1.012 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/1.982, allocations: 8 kB / 1.012 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.027e-05/1.982, allocations: 7.969 kB / 1.012 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/2.001, allocations: 5.301 MB / 1.017 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/2.001, allocations: 0 / 1.017 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00423/2.005, allocations: 412.8 kB / 1.018 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003634/2.009, allocations: 0.5752 MB / 1.018 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006665/2.01, allocations: 75.94 kB / 1.018 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02602/2.036, allocations: 10.13 MB / 1.028 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/2.036, allocations: 4.094 kB / 1.028 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01856/2.054, allocations: 3.777 MB / 1.032 GB, free: 9.812 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002541/2.057, allocations: 447.3 kB / 1.032 GB, free: 9.355 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008375/2.058, allocations: 43.94 kB / 1.032 GB, free: 9.312 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/2.06, allocations: 87.92 kB / 1.032 GB, free: 9.227 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005542/2.061, allocations: 160.2 kB / 1.033 GB, free: 9.074 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003674/2.061, allocations: 112 kB / 1.033 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00311/2.064, allocations: 1.051 MB / 1.034 GB, free: 7.895 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.92e-07/2.064, allocations: 0 / 1.034 GB, free: 7.895 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005732/2.07, allocations: 0.8855 MB / 1.035 GB, free: 7.008 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.02242/2.092, allocations: 5.277 MB / 1.04 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01227/2.105, allocations: 2.691 MB / 1.042 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/2.105, allocations: 2.625 kB / 1.042 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0079/2.113, allocations: 1.909 MB / 1.044 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005017/2.118, allocations: 0.5773 MB / 1.045 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07033/2.188, allocations: 17.46 MB / 1.062 GB, free: 10.89 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00243/2.191, allocations: 1.593 MB / 1.063 GB, free: 9.266 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.006197/2.197, allocations: 1.433 MB / 1.065 GB, free: 7.867 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00378/2.201, allocations: 1.19 MB / 1.066 GB, free: 6.676 MB / 0.795 GB Notification: Performance of SimCode: time 7.735e-06/2.201, allocations: 2.531 kB / 1.066 GB, free: 6.676 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2111/2.412, allocations: 65.03 MB / 1.129 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.18/20.59, allocations: 7.75 kB / 1.129 GB, free: 6.082 MB / 0.8575 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