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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002726/0.002726, allocations: 112 kB / 17.96 MB, free: 4.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002466/0.002466, allocations: 201.4 kB / 21.22 MB, free: 0.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.713/1.713, allocations: 225.6 MB / 249.9 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.9961/0.9961, allocations: 94.59 MB / 399.7 MB, free: 15.75 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-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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002661/0.002661, allocations: 82.97 kB / 0.5453 GB, free: 42.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2309, allocations: 71.86 MB / 0.6154 GB, free: 9.043 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.8462/1.077, allocations: 147.5 MB / 0.7595 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004605/1.082, allocations: 3.17 MB / 0.7626 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007078/1.082, allocations: 24.38 kB / 0.7626 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008612/1.083, allocations: 230.9 kB / 0.7629 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001495/1.085, allocations: 391.4 kB / 0.7632 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001762/1.086, allocations: 461.1 kB / 0.7637 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001197/1.088, allocations: 0.6753 MB / 0.7643 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/1.088, allocations: 90.03 kB / 0.7644 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/1.09, allocations: 0.491 MB / 0.7649 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006131/1.09, allocations: 292.7 kB / 0.7652 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/1.091, allocations: 26.59 kB / 0.7652 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/1.092, allocations: 0.5723 MB / 0.7658 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003967/1.093, allocations: 76.28 kB / 0.7658 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003222/1.093, allocations: 214.8 kB / 0.766 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001808/1.095, allocations: 0.6913 MB / 0.7667 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/1.095, allocations: 0 / 0.7667 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.514e-06/1.095, allocations: 1.594 kB / 0.7667 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.131e-05/1.095, allocations: 0 / 0.7667 GB, free: 2.672 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.002298/1.097, allocations: 0.804 MB / 0.7675 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.54e-05/1.097, allocations: 9.156 kB / 0.7675 GB, free: 18.11 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/1.097, allocations: 59.58 kB / 0.7676 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/1.097, allocations: 61.42 kB / 0.7676 GB, free: 18.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/1.099, allocations: 483.1 kB / 0.7681 GB, free: 17.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/1.099, allocations: 22.94 kB / 0.7681 GB, free: 17.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.697e-05/1.099, allocations: 29.2 kB / 0.7681 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008164/1.1, allocations: 327.6 kB / 0.7684 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/1.1, allocations: 2.281 kB / 0.7684 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/1.1, allocations: 11.41 kB / 0.7685 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/1.1, allocations: 10.62 kB / 0.7685 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004607/1.1, allocations: 199.8 kB / 0.7687 GB, free: 17.66 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/1.103, allocations: 1.77 MB / 0.7704 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/1.104, allocations: 161.9 kB / 0.7705 GB, free: 16.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/1.104, allocations: 69.94 kB / 0.7706 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/1.105, allocations: 0.5232 MB / 0.7711 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/1.105, allocations: 45.58 kB / 0.7712 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/1.105, allocations: 0 / 0.7712 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009429/1.106, allocations: 359.1 kB / 0.7715 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.248e-05/1.106, allocations: 106.4 kB / 0.7716 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007203/1.107, allocations: 442.5 kB / 0.772 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/1.107, allocations: 31.48 kB / 0.7721 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/1.107, allocations: 247.4 kB / 0.7723 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/1.107, allocations: 58.81 kB / 0.7724 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.49e-05/1.107, allocations: 46.09 kB / 0.7724 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002156/1.108, allocations: 357.4 kB / 0.7727 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/1.108, allocations: 57.88 kB / 0.7728 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/1.108, allocations: 110.1 kB / 0.7729 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/1.108, allocations: 174.8 kB / 0.7731 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.108, allocations: 3.938 kB / 0.7731 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008122/1.109, allocations: 277.8 kB / 0.7733 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.109, allocations: 5.781 kB / 0.7733 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.109, allocations: 2.594 kB / 0.7733 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/1.109, allocations: 24.41 kB / 0.7734 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/1.109, allocations: 46.97 kB / 0.7734 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/1.111, allocations: 1.39 MB / 0.7748 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/1.111, allocations: 30.53 kB / 0.7748 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/1.111, allocations: 13.33 kB / 0.7748 GB, free: 13.16 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.0002515/1.112, allocations: 153.6 kB / 0.775 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/1.112, allocations: 49.75 kB / 0.775 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008959/1.113, allocations: 253.5 kB / 0.7752 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/1.113, allocations: 1.875 kB / 0.7752 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.113, allocations: 5.5 kB / 0.7753 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/1.113, allocations: 4.922 kB / 0.7753 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/1.113, allocations: 354.6 kB / 0.7756 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.113, allocations: 0 / 0.7756 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/1.113, allocations: 38.34 kB / 0.7756 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002812/1.114, allocations: 18.88 kB / 0.7756 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/1.114, allocations: 9.312 kB / 0.7757 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/1.115, allocations: 1.385 MB / 0.777 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.115, allocations: 3.938 kB / 0.777 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/1.116, allocations: 459.8 kB / 0.7775 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/1.116, allocations: 121.5 kB / 0.7776 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/1.116, allocations: 10.97 kB / 0.7776 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/1.116, allocations: 6.75 kB / 0.7776 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/1.116, allocations: 18.83 kB / 0.7776 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/1.116, allocations: 5.75 kB / 0.7776 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003565/1.116, allocations: 311.4 kB / 0.7779 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.116, allocations: 0 / 0.7779 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005756/1.117, allocations: 102.8 kB / 0.778 GB, free: 10.93 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.001485/1.119, allocations: 1.086 MB / 0.7791 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006589/1.119, allocations: 254.4 kB / 0.7793 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.119, allocations: 0 / 0.7793 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/1.12, allocations: 191.1 kB / 0.7795 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009877/1.121, allocations: 101.2 kB / 0.7796 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006284/1.127, allocations: 3.569 MB / 0.7831 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/1.127, allocations: 0.8095 MB / 0.7839 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003702/1.128, allocations: 68.17 kB / 0.7839 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/1.128, allocations: 153.8 kB / 0.7841 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/1.128, allocations: 1.188 kB / 0.7841 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.052/1.18, allocations: 10.2 MB / 0.794 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.28, allocations: 16.47 kB / 0.794 GB, free: 6.371 MB / 0.5919 GB " [Timeout remaining time 646] (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_2/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: 18.914183191023767]