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.001769/0.001769, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002052/0.002052, allocations: 215.5 kB / 22.25 MB, free: 5.258 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.858/1.858, allocations: 230.6 MB / 256 MB, free: 7.773 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 1.142/1.142, allocations: 94.62 MB / 407.1 MB, free: 8.836 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.002805/0.002805, allocations: 85.48 kB / 0.5549 GB, free: 38.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2561, allocations: 73.04 MB / 0.6263 GB, free: 180 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.2416/0.4978, allocations: 126.9 MB / 0.7502 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6799/1.178, allocations: 2.851 MB / 0.7529 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006421/1.178, allocations: 39.28 kB / 0.753 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009922/1.179, allocations: 212.6 kB / 0.7532 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001507/1.181, allocations: 381.1 kB / 0.7535 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/1.183, allocations: 464.1 kB / 0.754 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001673/1.184, allocations: 0.6921 MB / 0.7547 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/1.185, allocations: 84.81 kB / 0.7547 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/1.186, allocations: 0.5032 MB / 0.7552 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005672/1.187, allocations: 277.3 kB / 0.7555 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.17e-05/1.187, allocations: 25.91 kB / 0.7555 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/1.188, allocations: 467.3 kB / 0.756 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/1.188, allocations: 77.73 kB / 0.756 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002934/1.189, allocations: 166.7 kB / 0.7562 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/1.19, allocations: 0.6772 MB / 0.7569 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/1.19, allocations: 1.438 kB / 0.7569 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.076e-06/1.19, allocations: 0 / 0.7569 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.959e-06/1.19, allocations: 1.906 kB / 0.7569 GB, free: 3.258 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.002036/1.192, allocations: 0.729 MB / 0.7576 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/1.192, allocations: 10 kB / 0.7576 GB, free: 18.79 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/1.193, allocations: 64.17 kB / 0.7576 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/1.193, allocations: 56.78 kB / 0.7577 GB, free: 18.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/1.194, allocations: 412.2 kB / 0.7581 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/1.194, allocations: 22.38 kB / 0.7581 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.928e-05/1.194, allocations: 24.89 kB / 0.7581 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007079/1.195, allocations: 328.1 kB / 0.7585 GB, free: 18.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/1.195, allocations: 4.375 kB / 0.7585 GB, free: 18.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/1.195, allocations: 11.56 kB / 0.7585 GB, free: 18.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/1.195, allocations: 7.844 kB / 0.7585 GB, free: 18.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/1.195, allocations: 198.5 kB / 0.7587 GB, free: 18.42 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/1.197, allocations: 1.404 MB / 0.76 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/1.198, allocations: 167.4 kB / 0.7602 GB, free: 17.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/1.198, allocations: 65.42 kB / 0.7603 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000539/1.199, allocations: 73.81 kB / 0.7603 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.505e-05/1.199, allocations: 44.34 kB / 0.7604 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/1.199, allocations: 0 / 0.7604 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.001053/1.2, allocations: 280.8 kB / 0.7606 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.2, allocations: 108.4 kB / 0.7607 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/1.2, allocations: 449.5 kB / 0.7612 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/1.2, allocations: 29.58 kB / 0.7612 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/1.201, allocations: 244 kB / 0.7614 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/1.201, allocations: 65.42 kB / 0.7615 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/1.201, allocations: 38.92 kB / 0.7615 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002793/1.201, allocations: 357.4 kB / 0.7619 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/1.201, allocations: 56.77 kB / 0.7619 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/1.201, allocations: 112.4 kB / 0.762 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/1.202, allocations: 175.4 kB / 0.7622 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.202, allocations: 8.234 kB / 0.7622 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005311/1.202, allocations: 270.9 kB / 0.7625 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.202, allocations: 7.656 kB / 0.7625 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.202, allocations: 4.547 kB / 0.7625 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/1.203, allocations: 24.25 kB / 0.7625 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/1.203, allocations: 56.09 kB / 0.7626 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/1.204, allocations: 1.275 MB / 0.7638 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/1.204, allocations: 33.67 kB / 0.7638 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/1.204, allocations: 9.172 kB / 0.7638 GB, free: 15.09 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.0001915/1.205, allocations: 151.6 kB / 0.764 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/1.205, allocations: 53.69 kB / 0.764 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006155/1.205, allocations: 257 kB / 0.7643 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.205, allocations: 1.375 kB / 0.7643 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.205, allocations: 3.531 kB / 0.7643 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.205, allocations: 1.891 kB / 0.7643 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006373/1.206, allocations: 305 kB / 0.7646 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.206, allocations: 3.406 kB / 0.7646 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/1.206, allocations: 32.55 kB / 0.7646 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-05/1.206, allocations: 22.27 kB / 0.7646 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/1.206, allocations: 11.47 kB / 0.7646 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/1.208, allocations: 1.29 MB / 0.7659 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.208, allocations: 3.938 kB / 0.7659 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/1.208, allocations: 451.2 kB / 0.7663 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/1.208, allocations: 44.77 kB / 0.7664 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/1.208, allocations: 13.05 kB / 0.7664 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/1.209, allocations: 10.41 kB / 0.7664 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/1.209, allocations: 14.05 kB / 0.7664 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.209, allocations: 7.219 kB / 0.7664 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003567/1.209, allocations: 311.5 kB / 0.7667 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/1.209, allocations: 0 / 0.7667 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000506/1.21, allocations: 98.7 kB / 0.7668 GB, free: 13.12 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.001608/1.211, allocations: 1.086 MB / 0.7679 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007468/1.212, allocations: 260.4 kB / 0.7681 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.212, allocations: 0.5312 kB / 0.7681 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004573/1.212, allocations: 189.5 kB / 0.7683 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008869/1.213, allocations: 103.9 kB / 0.7684 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007655/1.221, allocations: 3.56 MB / 0.7719 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/1.221, allocations: 209.1 kB / 0.7721 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003104/1.221, allocations: 63.23 kB / 0.7721 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/1.222, allocations: 154.8 kB / 0.7723 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of SimCode: time 2.505e-06/1.222, allocations: 0.9688 kB / 0.7723 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05479/1.276, allocations: 11.08 MB / 0.7831 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.9, allocations: 0 / 0.7831 GB, free: 8.66 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: 20.068331453949213]