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.00135/0.00135, allocations: 104.4 kB / 16.45 MB, free: 6.453 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.001502/0.001502, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.5/1.5, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.8579/0.8579, allocations: 100.3 MB / 409.1 MB, free: 4.781 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.002548/0.002548, allocations: 95.23 kB / 0.5582 GB, free: 36.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.146, allocations: 74.42 MB / 0.6309 GB, free: 9.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.5334/0.6794, allocations: 147.4 MB / 0.7749 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004816/0.6842, allocations: 3.156 MB / 0.7779 GB, free: 376 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009183/0.6851, allocations: 35.84 kB / 0.778 GB, free: 376 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009456/0.6861, allocations: 240.5 kB / 0.7782 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.6877, allocations: 385.3 kB / 0.7786 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.6893, allocations: 451.8 kB / 0.779 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.6903, allocations: 0.679 MB / 0.7797 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.6905, allocations: 86.41 kB / 0.7797 GB, free: 108 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.6919, allocations: 0.5002 MB / 0.7802 GB, free: 28 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004572/0.6924, allocations: 296.4 kB / 0.7805 GB, free: 20 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.6924, allocations: 25.22 kB / 0.7805 GB, free: 20 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.6941, allocations: 0.5718 MB / 0.7811 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.6942, allocations: 78.84 kB / 0.7812 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.6945, allocations: 208.6 kB / 0.7814 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.6959, allocations: 0.6976 MB / 0.7821 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6959, allocations: 0 / 0.7821 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6959, allocations: 0 / 0.7821 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.6959, allocations: 2.469 kB / 0.7821 GB, free: 15.92 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.001534/0.6975, allocations: 0.8041 MB / 0.7828 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.6975, allocations: 10.09 kB / 0.7828 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.299e-05/0.6976, allocations: 62.38 kB / 0.7829 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.764e-05/0.6977, allocations: 59.59 kB / 0.783 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007235/0.6984, allocations: 477.8 kB / 0.7834 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.6984, allocations: 19.28 kB / 0.7834 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.6985, allocations: 31.06 kB / 0.7835 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.699, allocations: 323.1 kB / 0.7838 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.699, allocations: 1.094 kB / 0.7838 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.699, allocations: 12.44 kB / 0.7838 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.699, allocations: 5.75 kB / 0.7838 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.6994, allocations: 197.2 kB / 0.784 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.7013, allocations: 1.777 MB / 0.7857 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.7018, allocations: 177.8 kB / 0.7859 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.702, allocations: 68.31 kB / 0.786 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007166/0.7027, allocations: 0.5224 MB / 0.7865 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.7027, allocations: 40.45 kB / 0.7865 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.7027, allocations: 0 / 0.7865 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009766/0.7037, allocations: 358.8 kB / 0.7868 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.7038, allocations: 107.5 kB / 0.7869 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/0.7043, allocations: 441.9 kB / 0.7874 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.7043, allocations: 29.92 kB / 0.7874 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.7045, allocations: 249.3 kB / 0.7876 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.7045, allocations: 52.73 kB / 0.7877 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.7046, allocations: 48.12 kB / 0.7877 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7048, allocations: 361.2 kB / 0.7881 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.7049, allocations: 55.27 kB / 0.7881 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.7051, allocations: 106.2 kB / 0.7882 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.7054, allocations: 179.4 kB / 0.7884 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.7054, allocations: 5.156 kB / 0.7884 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005425/0.706, allocations: 265.4 kB / 0.7887 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.706, allocations: 5.688 kB / 0.7887 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.706, allocations: 2.375 kB / 0.7887 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/0.7061, allocations: 21.83 kB / 0.7887 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.7063, allocations: 49.03 kB / 0.7887 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.7075, allocations: 1.397 MB / 0.7901 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.7077, allocations: 28.66 kB / 0.7901 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.7077, allocations: 13.62 kB / 0.7901 GB, free: 10.28 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.000195/0.7079, allocations: 163 kB / 0.7903 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.708, allocations: 53.17 kB / 0.7903 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005653/0.7085, allocations: 250.2 kB / 0.7906 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7085, allocations: 3.562 kB / 0.7906 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.7085, allocations: 0 / 0.7906 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.7086, allocations: 0.5 kB / 0.7906 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.709, allocations: 356.1 kB / 0.7909 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.709, allocations: 0 / 0.7909 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.7092, allocations: 36.2 kB / 0.791 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.843e-05/0.7093, allocations: 26.17 kB / 0.791 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.7093, allocations: 10.97 kB / 0.791 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.7104, allocations: 1.38 MB / 0.7923 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.7104, allocations: 9.844 kB / 0.7924 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000647/0.711, allocations: 446.6 kB / 0.7928 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.7111, allocations: 121.6 kB / 0.7929 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.7112, allocations: 9.016 kB / 0.7929 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.7114, allocations: 12.56 kB / 0.7929 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.7114, allocations: 29.19 kB / 0.7929 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.7114, allocations: 4.719 kB / 0.7929 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003164/0.7117, allocations: 309.3 kB / 0.7932 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7117, allocations: 0 / 0.7932 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004933/0.7122, allocations: 101.3 kB / 0.7933 GB, free: 7.992 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.001288/0.7135, allocations: 1.087 MB / 0.7944 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006334/0.7142, allocations: 264.8 kB / 0.7947 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7142, allocations: 0 / 0.7947 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.7145, allocations: 184.9 kB / 0.7948 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/0.7153, allocations: 101.1 kB / 0.7949 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/0.7199, allocations: 3.569 MB / 0.7984 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.7203, allocations: 0.8146 MB / 0.7992 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001918/0.7205, allocations: 63.44 kB / 0.7993 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.7206, allocations: 160.1 kB / 0.7994 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.7206, allocations: 0 / 0.7994 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04094/0.7616, allocations: 10.22 MB / 0.8094 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.81, allocations: 3.281 kB / 0.8094 GB, free: 0.8242 MB / 0.5919 GB " [Timeout remaining time 648] (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: 15.650989770889282]