Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002483/0.002483, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.595/1.595, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.8559/0.8559, allocations: 94.56 MB / 407 MB, free: 9.168 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002643/0.002643, allocations: 87.45 kB / 0.555 GB, free: 38.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1802, allocations: 73.05 MB / 0.6263 GB, free: 476 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.7086/0.8888, allocations: 147.6 MB / 0.7704 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004857/0.8937, allocations: 3.165 MB / 0.7735 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009515/0.8946, allocations: 37.16 kB / 0.7736 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.8958, allocations: 231.8 kB / 0.7738 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.8975, allocations: 397.5 kB / 0.7742 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.8994, allocations: 474.7 kB / 0.7746 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001762/0.9011, allocations: 0.6951 MB / 0.7753 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003949/0.9015, allocations: 84.89 kB / 0.7754 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.9037, allocations: 0.5043 MB / 0.7759 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008995/0.9046, allocations: 293 kB / 0.7762 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.9047, allocations: 25.28 kB / 0.7762 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.9067, allocations: 0.5885 MB / 0.7768 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.9069, allocations: 71.34 kB / 0.7768 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005112/0.9074, allocations: 218.9 kB / 0.777 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.9094, allocations: 0.6886 MB / 0.7777 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.9094, allocations: 0 / 0.7777 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.026e-06/0.9094, allocations: 0 / 0.7777 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.354e-05/0.9094, allocations: 0 / 0.7777 GB, free: 1.91 MB / 0.5762 GB 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.001893/0.9113, allocations: 0.7357 MB / 0.7784 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.345e-05/0.9114, allocations: 9.156 kB / 0.7784 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.409e-05/0.9114, allocations: 62.56 kB / 0.7785 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.9116, allocations: 55.67 kB / 0.7785 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.9127, allocations: 413.2 kB / 0.7789 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.9127, allocations: 18.16 kB / 0.779 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.789e-05/0.9128, allocations: 29.31 kB / 0.779 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/0.9135, allocations: 324.9 kB / 0.7793 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.9136, allocations: 3.5 kB / 0.7793 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.9136, allocations: 12.22 kB / 0.7793 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.9136, allocations: 6.719 kB / 0.7793 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006172/0.9142, allocations: 201.8 kB / 0.7795 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.9168, allocations: 1.714 MB / 0.7812 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005235/0.9173, allocations: 165.4 kB / 0.7813 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.9175, allocations: 68.38 kB / 0.7814 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005592/0.918, allocations: 82.2 kB / 0.7815 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.9181, allocations: 37.25 kB / 0.7815 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.084e-06/0.9181, allocations: 2.25 kB / 0.7815 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.001056/0.9191, allocations: 277.1 kB / 0.7818 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.9192, allocations: 107.3 kB / 0.7819 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000699/0.9199, allocations: 443.9 kB / 0.7823 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.92, allocations: 33.27 kB / 0.7823 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.9202, allocations: 246.6 kB / 0.7826 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.9203, allocations: 60.91 kB / 0.7826 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.9204, allocations: 42.92 kB / 0.7827 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002245/0.9206, allocations: 364 kB / 0.783 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.9208, allocations: 56.8 kB / 0.7831 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.921, allocations: 105 kB / 0.7832 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.9214, allocations: 181.9 kB / 0.7834 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.9214, allocations: 3.938 kB / 0.7834 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007773/0.9221, allocations: 272.3 kB / 0.7836 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.9222, allocations: 9.219 kB / 0.7836 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.9222, allocations: 1.375 kB / 0.7836 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.9224, allocations: 23.7 kB / 0.7836 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.9226, allocations: 49.73 kB / 0.7837 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.924, allocations: 1.293 MB / 0.785 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.9243, allocations: 29.78 kB / 0.785 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.9244, allocations: 10.5 kB / 0.785 GB, free: 13.34 MB / 0.5919 GB 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.0002715/0.9246, allocations: 149.1 kB / 0.7851 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.9248, allocations: 53.61 kB / 0.7852 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006956/0.9255, allocations: 257.2 kB / 0.7854 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.9255, allocations: 2.438 kB / 0.7854 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.9255, allocations: 2.031 kB / 0.7854 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.9255, allocations: 1.75 kB / 0.7854 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006431/0.9262, allocations: 333 kB / 0.7858 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.9262, allocations: 0 / 0.7858 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.9264, allocations: 35.89 kB / 0.7858 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/0.9265, allocations: 24.95 kB / 0.7858 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.9265, allocations: 5.281 kB / 0.7858 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.9278, allocations: 1.289 MB / 0.7871 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.9278, allocations: 5.375 kB / 0.7871 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008632/0.9286, allocations: 450.4 kB / 0.7875 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.9288, allocations: 44.06 kB / 0.7876 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.9288, allocations: 9.25 kB / 0.7876 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.929, allocations: 9.438 kB / 0.7876 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/0.9291, allocations: 24.61 kB / 0.7876 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.9291, allocations: 2.344 kB / 0.7876 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004744/0.9296, allocations: 314.3 kB / 0.7879 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9296, allocations: 0 / 0.7879 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006308/0.9302, allocations: 97.67 kB / 0.788 GB, free: 11.34 MB / 0.5919 GB 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.001435/0.9317, allocations: 1.082 MB / 0.7891 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007584/0.9324, allocations: 262.8 kB / 0.7893 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.9324, allocations: 0 / 0.7893 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.9328, allocations: 190.6 kB / 0.7895 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009843/0.9338, allocations: 111.4 kB / 0.7896 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005967/0.9398, allocations: 3.557 MB / 0.7931 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.9403, allocations: 0.8153 MB / 0.7939 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002785/0.9406, allocations: 57.22 kB / 0.7939 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.9408, allocations: 156 kB / 0.7941 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of SimCode: time 2.014e-06/0.9408, allocations: 0 / 0.7941 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05916/1, allocations: 10.37 MB / 0.8042 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.59, allocations: 3.984 kB / 0.8042 GB, free: 5.895 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv failed! Error: Could not read variable boundary_rear.fore.m_flow in file ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv. Warning: Get data of variable boundary_rear.fore.m_flow from file ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.690361122000468]