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.002031/0.002031, allocations: 108.2 kB / 16.46 MB, free: 6.512 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.002153/0.002153, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.796/1.796, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.9794/0.9794, allocations: 94.55 MB / 403.4 MB, free: 10.14 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.002609/0.002609, allocations: 89.09 kB / 0.5499 GB, free: 38.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2177, allocations: 73.03 MB / 0.6212 GB, free: 1.953 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.9751/1.193, allocations: 147.4 MB / 0.7652 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005401/1.198, allocations: 3.149 MB / 0.7683 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/1.199, allocations: 38.25 kB / 0.7683 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/1.201, allocations: 235.7 kB / 0.7685 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001569/1.202, allocations: 389.9 kB / 0.7689 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/1.204, allocations: 450.3 kB / 0.7693 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001433/1.205, allocations: 0.6813 MB / 0.77 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/1.206, allocations: 91.89 kB / 0.7701 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/1.208, allocations: 0.4945 MB / 0.7706 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009784/1.209, allocations: 298.8 kB / 0.7709 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/1.209, allocations: 28.09 kB / 0.7709 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002418/1.211, allocations: 0.5622 MB / 0.7714 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/1.212, allocations: 76.55 kB / 0.7715 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004945/1.212, allocations: 217.7 kB / 0.7717 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/1.214, allocations: 0.6879 MB / 0.7724 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.214, allocations: 5.156 kB / 0.7724 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.735e-06/1.214, allocations: 0 / 0.7724 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.797e-05/1.214, allocations: 0 / 0.7724 GB, free: 1.984 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.002074/1.216, allocations: 0.8073 MB / 0.7732 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 9.349e-05/1.217, allocations: 8.562 kB / 0.7732 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002432/1.217, allocations: 62.02 kB / 0.7732 GB, free: 17.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/1.217, allocations: 55.58 kB / 0.7733 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009645/1.218, allocations: 481.5 kB / 0.7738 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/1.218, allocations: 22.78 kB / 0.7738 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/1.218, allocations: 37.89 kB / 0.7738 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005545/1.219, allocations: 318 kB / 0.7741 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.219, allocations: 0 / 0.7741 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/1.219, allocations: 14.98 kB / 0.7741 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/1.219, allocations: 7.781 kB / 0.7741 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006586/1.219, allocations: 197.4 kB / 0.7743 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/1.222, allocations: 1.781 MB / 0.7761 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006119/1.223, allocations: 158.2 kB / 0.7762 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/1.223, allocations: 74.94 kB / 0.7763 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/1.224, allocations: 0.5223 MB / 0.7768 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/1.224, allocations: 40.16 kB / 0.7768 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/1.224, allocations: 0 / 0.7768 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.001068/1.225, allocations: 359.4 kB / 0.7772 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.225, allocations: 106.5 kB / 0.7773 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006456/1.226, allocations: 443.7 kB / 0.7777 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/1.226, allocations: 26.91 kB / 0.7777 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/1.226, allocations: 255.8 kB / 0.778 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/1.226, allocations: 54.55 kB / 0.778 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-05/1.226, allocations: 46.06 kB / 0.7781 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000212/1.227, allocations: 358.8 kB / 0.7784 GB, free: 14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/1.227, allocations: 56.88 kB / 0.7785 GB, free: 14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/1.227, allocations: 108.9 kB / 0.7786 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/1.228, allocations: 173.2 kB / 0.7787 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.228, allocations: 3.938 kB / 0.7787 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005413/1.228, allocations: 263.1 kB / 0.779 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.228, allocations: 8.078 kB / 0.779 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/1.228, allocations: 2.594 kB / 0.779 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/1.228, allocations: 30.64 kB / 0.779 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/1.228, allocations: 49.97 kB / 0.7791 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/1.23, allocations: 1.394 MB / 0.7804 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/1.23, allocations: 25.75 kB / 0.7805 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/1.23, allocations: 9.703 kB / 0.7805 GB, free: 12.43 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.0001996/1.23, allocations: 159 kB / 0.7806 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/1.231, allocations: 54.02 kB / 0.7807 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008133/1.232, allocations: 247 kB / 0.7809 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.232, allocations: 7 kB / 0.7809 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.232, allocations: 1.375 kB / 0.7809 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.232, allocations: 0 / 0.7809 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000603/1.232, allocations: 356.7 kB / 0.7813 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.232, allocations: 0.9688 kB / 0.7813 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/1.232, allocations: 38.72 kB / 0.7813 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.817e-05/1.232, allocations: 20.84 kB / 0.7813 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/1.232, allocations: 9.203 kB / 0.7813 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/1.234, allocations: 1.389 MB / 0.7827 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.234, allocations: 5.312 kB / 0.7827 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/1.235, allocations: 459.8 kB / 0.7831 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/1.235, allocations: 125.1 kB / 0.7832 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/1.235, allocations: 7.312 kB / 0.7832 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/1.235, allocations: 8.734 kB / 0.7833 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/1.235, allocations: 17.17 kB / 0.7833 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/1.235, allocations: 3.344 kB / 0.7833 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004673/1.236, allocations: 308.6 kB / 0.7836 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.01e-07/1.236, allocations: 0 / 0.7836 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006927/1.236, allocations: 109 kB / 0.7837 GB, free: 10.16 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.001334/1.238, allocations: 1.087 MB / 0.7847 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009106/1.239, allocations: 255.7 kB / 0.785 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.239, allocations: 0 / 0.785 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003711/1.239, allocations: 188.5 kB / 0.7852 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008058/1.24, allocations: 110 kB / 0.7853 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005787/1.246, allocations: 3.558 MB / 0.7887 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/1.246, allocations: 0.8126 MB / 0.7895 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001978/1.246, allocations: 59.33 kB / 0.7896 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/1.246, allocations: 153.3 kB / 0.7897 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/1.246, allocations: 0 / 0.7897 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05434/1.301, allocations: 10.22 MB / 0.7997 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/14.09, allocations: 7.359 kB / 0.7997 GB, free: 5.172 MB / 0.5919 GB " [Timeout remaining time 646] (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.612763610988623]