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.0009762/0.0009762, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.0009832/0.0009832, allocations: 197.5 kB / 16.14 MB, free: 6.59 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.244/1.244, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6479/0.6479, allocations: 89.51 MB / 379.5 MB, free: 11.27 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 82.77 kB / 457.7 MB, free: 23.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1042, allocations: 67.3 MB / 0.5127 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.4935/0.5978, allocations: 306.7 MB / 0.8122 GB, free: 136 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.3256/0.9235, allocations: 38.17 MB / 0.8495 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002889/0.9264, allocations: 49.59 kB / 0.8495 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003005/0.9295, allocations: 1.225 MB / 0.8507 GB, free: 0.6172 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007015/0.9365, allocations: 2.93 MB / 0.8536 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007087/0.9436, allocations: 2.981 MB / 0.8565 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004172/0.9478, allocations: 4.012 MB / 0.8604 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009343/0.9487, allocations: 0.7067 MB / 0.8611 GB, free: 16.37 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003233/0.9519, allocations: 2.138 MB / 0.8632 GB, free: 16.35 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001951/0.9539, allocations: 1.386 MB / 0.8645 GB, free: 16.34 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005885/0.9545, allocations: 155 kB / 0.8647 GB, free: 16.34 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0128/0.9673, allocations: 7.088 MB / 0.8716 GB, free: 16.21 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008732/0.9682, allocations: 495 kB / 0.8721 GB, free: 16.12 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002435/0.9707, allocations: 1.244 MB / 0.8733 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009432/0.9801, allocations: 4.59 MB / 0.8778 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.9801, allocations: 0 / 0.8778 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.342e-06/0.9802, allocations: 4 kB / 0.8778 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000119/0.9803, allocations: 0 / 0.8778 GB, free: 15.1 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.007863/0.9882, allocations: 3.331 MB / 0.881 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.9882, allocations: 9.844 kB / 0.881 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004966/0.9887, allocations: 296.1 kB / 0.8813 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004216/0.9929, allocations: 0.5655 MB / 0.8819 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.995, allocations: 1.217 MB / 0.8831 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003732/0.9954, allocations: 410.7 kB / 0.8835 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003968/0.9958, allocations: 215.8 kB / 0.8837 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004245/1, allocations: 2.316 MB / 0.8859 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.933e-05/1, allocations: 3.656 kB / 0.8859 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/1, allocations: 91.09 kB / 0.886 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-05/1, allocations: 73.91 kB / 0.8861 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/1.004, allocations: 1.879 MB / 0.8879 GB, free: 12.44 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.01011/1.014, allocations: 9.193 MB / 0.8969 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003737/1.018, allocations: 1.963 MB / 0.8988 GB, free: 7.324 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/1.02, allocations: 1.055 MB / 0.8998 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/1.021, allocations: 2.611 MB / 0.9024 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/1.021, allocations: 58.42 kB / 0.9024 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=174): time 3.135e-06/1.021, allocations: 0 / 0.9024 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of matching and sorting (n=176): time 0.01473/1.036, allocations: 6.552 MB / 0.9088 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/1.036, allocations: 78.12 kB / 0.9089 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/1.038, allocations: 1.199 MB / 0.9101 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/1.038, allocations: 54.02 kB / 0.9101 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005356/1.038, allocations: 0.8775 MB / 0.911 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000477/1.039, allocations: 0.5926 MB / 0.9116 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005165/1.039, allocations: 323.6 kB / 0.9119 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.58e-05/1.039, allocations: 301.1 kB / 0.9122 GB, free: 436 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/1.041, allocations: 0.7009 MB / 0.9129 GB, free: 320 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/1.042, allocations: 0.8464 MB / 0.9137 GB, free: 100 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002919/1.045, allocations: 1.579 MB / 0.9152 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.045, allocations: 0 / 0.9152 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006126/1.051, allocations: 2.685 MB / 0.9179 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.052, allocations: 8 kB / 0.9179 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.052, allocations: 0 / 0.9179 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/1.053, allocations: 0.5712 MB / 0.9184 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/1.055, allocations: 426.5 kB / 0.9188 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/1.066, allocations: 9.374 MB / 0.928 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/1.068, allocations: 134.4 kB / 0.9281 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/1.068, allocations: 120.6 kB / 0.9282 GB, free: 4.203 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.0007677/1.069, allocations: 362.5 kB / 0.9286 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/1.069, allocations: 173.8 kB / 0.9287 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008675/1.078, allocations: 4.051 MB / 0.9327 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/1.078, allocations: 16.11 kB / 0.9327 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/1.078, allocations: 15.88 kB / 0.9327 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/1.078, allocations: 7.969 kB / 0.9327 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/1.088, allocations: 5.189 MB / 0.9378 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/1.088, allocations: 4 kB / 0.9378 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/1.09, allocations: 408 kB / 0.9382 GB, free: 12.42 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/1.092, allocations: 0.5791 MB / 0.9388 GB, free: 11.92 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/1.092, allocations: 79.83 kB / 0.9388 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/1.103, allocations: 9.372 MB / 0.948 GB, free: 2.953 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.103, allocations: 6.656 kB / 0.948 GB, free: 2.949 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008089/1.111, allocations: 3.705 MB / 0.9516 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008745/1.112, allocations: 406.5 kB / 0.952 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004018/1.112, allocations: 40 kB / 0.952 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/1.114, allocations: 131.7 kB / 0.9522 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/1.114, allocations: 160.2 kB / 0.9523 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002102/1.114, allocations: 116 kB / 0.9524 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00125/1.115, allocations: 0.8261 MB / 0.9532 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.91e-07/1.115, allocations: 4 kB / 0.9532 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002763/1.118, allocations: 0.8708 MB / 0.9541 GB, free: 12.66 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.01047/1.129, allocations: 5.212 MB / 0.9592 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005379/1.134, allocations: 2.682 MB / 0.9618 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.134, allocations: 4 kB / 0.9618 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003524/1.138, allocations: 1.899 MB / 0.9636 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/1.14, allocations: 0.5077 MB / 0.9641 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0301/1.17, allocations: 18.26 MB / 0.982 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/1.171, allocations: 1.475 MB / 0.9834 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003272/1.174, allocations: 1.397 MB / 0.9848 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001717/1.176, allocations: 1.015 MB / 0.9858 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of SimCode: time 1.313e-06/1.176, allocations: 0 / 0.9858 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07907/1.255, allocations: 58.31 MB / 1.043 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/1.256, allocations: 295.7 kB / 1.043 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.328/4.584, allocations: 0 / 1.043 GB, free: 1.273 MB / 0.7637 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > 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