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.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.00129/0.00129, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001669/0.001669, allocations: 213.9 kB / 22.25 MB, free: 5.125 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.8709/0.8709, allocations: 100.3 MB / 412.7 MB, free: 3.68 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_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"}) [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.002454/0.002454, allocations: 85.89 kB / 0.5633 GB, free: 36.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1608, allocations: 74.46 MB / 0.636 GB, free: 7.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.6549/0.8157, allocations: 147.6 MB / 0.7801 GB, free: 68 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004368/0.8201, allocations: 3.156 MB / 0.7832 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005708/0.8206, allocations: 44.06 kB / 0.7832 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007661/0.8214, allocations: 238.2 kB / 0.7835 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009786/0.8224, allocations: 390.3 kB / 0.7838 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.8235, allocations: 484 kB / 0.7843 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000757/0.8243, allocations: 0.692 MB / 0.785 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.8245, allocations: 83.66 kB / 0.7851 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.8257, allocations: 0.5004 MB / 0.7856 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005091/0.8262, allocations: 300.1 kB / 0.7858 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/0.8262, allocations: 25.5 kB / 0.7859 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.8276, allocations: 0.578 MB / 0.7864 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.8277, allocations: 76.06 kB / 0.7865 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.8279, allocations: 214.3 kB / 0.7867 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.829, allocations: 0.6962 MB / 0.7874 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.829, allocations: 0 / 0.7874 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.693e-06/0.829, allocations: 0 / 0.7874 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.829, allocations: 0 / 0.7874 GB, free: 15.16 MB / 0.5919 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.001292/0.8303, allocations: 0.7299 MB / 0.7881 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.8303, allocations: 10.02 kB / 0.7881 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.653e-05/0.8304, allocations: 64.11 kB / 0.7882 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.245e-05/0.8305, allocations: 58.12 kB / 0.7882 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000807/0.8313, allocations: 406.2 kB / 0.7886 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.8313, allocations: 17.78 kB / 0.7886 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.8314, allocations: 32.12 kB / 0.7887 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005696/0.8319, allocations: 326 kB / 0.789 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.8319, allocations: 0.7812 kB / 0.789 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.832, allocations: 11.33 kB / 0.789 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.832, allocations: 7.562 kB / 0.789 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.8324, allocations: 199.3 kB / 0.7892 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.8343, allocations: 1.718 MB / 0.7909 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004902/0.8348, allocations: 172.1 kB / 0.791 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.8349, allocations: 62.81 kB / 0.7911 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004878/0.8354, allocations: 76.42 kB / 0.7912 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.8354, allocations: 42.8 kB / 0.7912 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.8354, allocations: 0 / 0.7912 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008466/0.8363, allocations: 275.1 kB / 0.7915 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.8364, allocations: 113.3 kB / 0.7916 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/0.8369, allocations: 443 kB / 0.792 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.8369, allocations: 30.58 kB / 0.792 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.8371, allocations: 247.8 kB / 0.7923 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.8371, allocations: 59.84 kB / 0.7923 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.8372, allocations: 44.28 kB / 0.7924 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.8374, allocations: 358.7 kB / 0.7927 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.8375, allocations: 58.5 kB / 0.7927 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.8377, allocations: 107.2 kB / 0.7929 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.838, allocations: 176.7 kB / 0.793 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.838, allocations: 5.031 kB / 0.793 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004846/0.8385, allocations: 270.5 kB / 0.7933 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.8385, allocations: 5.625 kB / 0.7933 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.8385, allocations: 2.594 kB / 0.7933 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/0.8387, allocations: 23.05 kB / 0.7933 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.8388, allocations: 51.88 kB / 0.7934 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.84, allocations: 1.289 MB / 0.7946 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.8402, allocations: 35.72 kB / 0.7947 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.8402, allocations: 6.375 kB / 0.7947 GB, free: 10.52 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.0001707/0.8404, allocations: 153.1 kB / 0.7948 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.8405, allocations: 54.56 kB / 0.7949 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005421/0.841, allocations: 251.2 kB / 0.7951 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.841, allocations: 5.812 kB / 0.7951 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.841, allocations: 0 / 0.7951 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.841, allocations: 2.531 kB / 0.7951 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.8414, allocations: 328.2 kB / 0.7954 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8414, allocations: 0 / 0.7954 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.8416, allocations: 33.94 kB / 0.7955 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.34e-05/0.8417, allocations: 25.75 kB / 0.7955 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.8417, allocations: 12.78 kB / 0.7955 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009772/0.8427, allocations: 1.278 MB / 0.7967 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.8427, allocations: 6.594 kB / 0.7967 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006358/0.8433, allocations: 462.1 kB / 0.7972 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.8434, allocations: 41.41 kB / 0.7972 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.8434, allocations: 9.328 kB / 0.7972 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.8436, allocations: 13.53 kB / 0.7972 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.8437, allocations: 16.41 kB / 0.7973 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.8437, allocations: 7.75 kB / 0.7973 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003562/0.844, allocations: 310.5 kB / 0.7976 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.844, allocations: 1.094 kB / 0.7976 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004621/0.8445, allocations: 99.52 kB / 0.7977 GB, free: 8.492 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.00118/0.8457, allocations: 1.092 MB / 0.7987 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005525/0.8462, allocations: 254.3 kB / 0.799 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8462, allocations: 4 kB / 0.799 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003191/0.8465, allocations: 186.5 kB / 0.7991 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/0.8473, allocations: 109 kB / 0.7993 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/0.8518, allocations: 3.564 MB / 0.8027 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.8523, allocations: 0.8094 MB / 0.8035 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001703/0.8525, allocations: 59.34 kB / 0.8036 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.8527, allocations: 155.2 kB / 0.8037 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of SimCode: time 3.4e-07/0.8527, allocations: 7.938 kB / 0.8037 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04364/0.8963, allocations: 10.37 MB / 0.8139 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13.31, allocations: 0 / 0.8139 GB, free: 0.8633 MB / 0.5919 GB " [Timeout remaining time 647] (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) [Timeout 1260.0] 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) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv failed! Error: Could not read variable boundary_rear.fore.m_flow in file ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv. Warning: Get data of variable boundary_rear.fore.m_flow from file ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.15788841700123]