Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",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.001955/0.001955, 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.002581/0.002581, allocations: 194.6 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.869/1.869, allocations: 222.9 MB / 240.2 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8578/0.8578, allocations: 93.71 MB / 384.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 85.77 kB / 463.5 MB, free: 21.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1763, allocations: 68.27 MB / 0.5193 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.5252/0.7016, allocations: 146.9 MB / 0.6627 GB, free: 192 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004555/0.7062, allocations: 3.156 MB / 0.6658 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005439/0.7067, allocations: 26.91 kB / 0.6659 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008808/0.7076, allocations: 225.7 kB / 0.6661 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.7088, allocations: 376.8 kB / 0.6664 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.7099, allocations: 460.5 kB / 0.6669 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008283/0.7108, allocations: 0.6681 MB / 0.6675 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.711, allocations: 141.7 kB / 0.6677 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.7122, allocations: 481.5 kB / 0.6681 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000398/0.7126, allocations: 295.7 kB / 0.6684 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.7127, allocations: 25.06 kB / 0.6684 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.7139, allocations: 0.5558 MB / 0.669 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.714, allocations: 66.19 kB / 0.669 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.7143, allocations: 225.2 kB / 0.6692 GB, free: 11.35 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.7154, allocations: 0.6538 MB / 0.6699 GB, free: 10.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.7154, allocations: 4 kB / 0.6699 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.799e-06/0.7154, allocations: 0 / 0.6699 GB, free: 10.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.7154, allocations: 3.938 kB / 0.6699 GB, free: 10.93 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001376/0.7168, allocations: 0.7867 MB / 0.6707 GB, free: 10.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.7169, allocations: 7.406 kB / 0.6707 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.723e-05/0.7169, allocations: 64.81 kB / 0.6707 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.758e-05/0.717, allocations: 53.34 kB / 0.6708 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007533/0.7178, allocations: 432.7 kB / 0.6712 GB, free: 9.781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.7178, allocations: 21.66 kB / 0.6712 GB, free: 9.773 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.7179, allocations: 26 kB / 0.6712 GB, free: 9.766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000581/0.7185, allocations: 324.9 kB / 0.6715 GB, free: 9.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.7185, allocations: 2.094 kB / 0.6715 GB, free: 9.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.7185, allocations: 10.62 kB / 0.6716 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.7186, allocations: 7.719 kB / 0.6716 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.719, allocations: 194.8 kB / 0.6718 GB, free: 9.422 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.7213, allocations: 1.786 MB / 0.6735 GB, free: 7.707 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.7218, allocations: 178 kB / 0.6737 GB, free: 7.574 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.722, allocations: 66.42 kB / 0.6737 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008062/0.7228, allocations: 0.5231 MB / 0.6742 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.7229, allocations: 41.34 kB / 0.6743 GB, free: 6.883 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.7229, allocations: 0 / 0.6743 GB, free: 6.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.000961/0.7239, allocations: 361.9 kB / 0.6746 GB, free: 6.629 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.724, allocations: 108.8 kB / 0.6747 GB, free: 6.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004981/0.7245, allocations: 436.4 kB / 0.6751 GB, free: 6.238 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.7245, allocations: 37 kB / 0.6752 GB, free: 6.199 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.7247, allocations: 241 kB / 0.6754 GB, free: 5.984 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/0.7248, allocations: 56.31 kB / 0.6755 GB, free: 5.934 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.7249, allocations: 46.91 kB / 0.6755 GB, free: 5.898 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.7251, allocations: 356.9 kB / 0.6758 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.7253, allocations: 57.98 kB / 0.6759 GB, free: 5.523 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.7255, allocations: 111 kB / 0.676 GB, free: 5.434 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.7258, allocations: 180.3 kB / 0.6762 GB, free: 5.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.7259, allocations: 3.938 kB / 0.6762 GB, free: 5.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005296/0.7264, allocations: 262.8 kB / 0.6764 GB, free: 5.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.7264, allocations: 4.969 kB / 0.6764 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.7264, allocations: 0 / 0.6764 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/0.7266, allocations: 25.2 kB / 0.6765 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.7268, allocations: 53.59 kB / 0.6765 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.7282, allocations: 1.388 MB / 0.6779 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.7284, allocations: 29.5 kB / 0.6779 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.7284, allocations: 15.67 kB / 0.6779 GB, free: 3.652 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001949/0.7286, allocations: 159.4 kB / 0.6781 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.7288, allocations: 49.97 kB / 0.6781 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006487/0.7294, allocations: 252.5 kB / 0.6784 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.7294, allocations: 2.906 kB / 0.6784 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.7295, allocations: 0 / 0.6784 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7295, allocations: 2.719 kB / 0.6784 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.7299, allocations: 354.2 kB / 0.6787 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.73, allocations: 3.312 kB / 0.6787 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.7301, allocations: 33.02 kB / 0.6787 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.385e-05/0.7302, allocations: 26.88 kB / 0.6788 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.7303, allocations: 14.69 kB / 0.6788 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.7315, allocations: 1.375 MB / 0.6801 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.7315, allocations: 6.688 kB / 0.6801 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/0.7322, allocations: 465.3 kB / 0.6806 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.7323, allocations: 114.7 kB / 0.6807 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.7323, allocations: 14.38 kB / 0.6807 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.7325, allocations: 4.438 kB / 0.6807 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.7326, allocations: 20.22 kB / 0.6807 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.7326, allocations: 10.42 kB / 0.6807 GB, free: 1.004 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003534/0.733, allocations: 312.4 kB / 0.681 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.733, allocations: 0 / 0.681 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000481/0.7335, allocations: 96.09 kB / 0.6811 GB, free: 0.7969 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001425/0.7349, allocations: 1.081 MB / 0.6822 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000666/0.7356, allocations: 278.4 kB / 0.6824 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.7356, allocations: 8.25 kB / 0.6824 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.736, allocations: 189.2 kB / 0.6826 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008778/0.7369, allocations: 101.3 kB / 0.6827 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005158/0.742, allocations: 3.625 MB / 0.6863 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.7426, allocations: 0.8104 MB / 0.687 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002175/0.7428, allocations: 49.33 kB / 0.6871 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.7431, allocations: 165.5 kB / 0.6873 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.7431, allocations: 0 / 0.6873 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04396/0.7871, allocations: 9.995 MB / 0.697 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.64, allocations: 4.438 kB / 0.697 GB, free: 4.051 MB / 0.4981 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches