Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.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.001438/0.001438, 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.002227/0.002227, allocations: 220.3 kB / 22.26 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.969 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.7947/0.7947, allocations: 100.3 MB / 412.7 MB, free: 3.668 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.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction",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.002511/0.002511, allocations: 82.83 kB / 0.5632 GB, free: 35.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1393, allocations: 74.47 MB / 0.636 GB, free: 7.668 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.5436/0.6829, allocations: 145.2 MB / 0.7777 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004877/0.6878, allocations: 4.641 MB / 0.7823 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004769/0.6883, allocations: 39.53 kB / 0.7823 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007295/0.689, allocations: 204.8 kB / 0.7825 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000739/0.6897, allocations: 325.2 kB / 0.7828 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.6909, allocations: 455.7 kB / 0.7832 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007862/0.6917, allocations: 0.7551 MB / 0.784 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.6918, allocations: 68.86 kB / 0.784 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007962/0.6926, allocations: 410.3 kB / 0.7844 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004847/0.6931, allocations: 339.8 kB / 0.7848 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.506e-05/0.6932, allocations: 32.98 kB / 0.7848 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.6943, allocations: 472.6 kB / 0.7852 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.6944, allocations: 104.5 kB / 0.7853 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.6946, allocations: 214.6 kB / 0.7855 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.6957, allocations: 0.648 MB / 0.7862 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.6957, allocations: 0 / 0.7862 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.043e-06/0.6957, allocations: 0.9375 kB / 0.7862 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.6957, allocations: 1.203 kB / 0.7862 GB, free: 15.36 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001644/0.6974, allocations: 0.7596 MB / 0.7869 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.6974, allocations: 9.031 kB / 0.7869 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.098e-05/0.6975, allocations: 63.56 kB / 0.787 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.929e-05/0.6976, allocations: 50.8 kB / 0.787 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007204/0.6983, allocations: 422.8 kB / 0.7874 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.6983, allocations: 18.92 kB / 0.7875 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.6984, allocations: 24.75 kB / 0.7875 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006409/0.699, allocations: 448.7 kB / 0.7879 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.699, allocations: 0 / 0.7879 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.6991, allocations: 16.28 kB / 0.7879 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/0.6991, allocations: 21.25 kB / 0.7879 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000669/0.6998, allocations: 485.8 kB / 0.7884 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.7018, allocations: 1.424 MB / 0.7898 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.7023, allocations: 222.9 kB / 0.79 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.7026, allocations: 191.6 kB / 0.7902 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.7027, allocations: 31.88 kB / 0.7902 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.7027, allocations: 36.44 kB / 0.7903 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.7027, allocations: 4 kB / 0.7903 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002352/0.7051, allocations: 1.227 MB / 0.7915 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.7051, allocations: 59.83 kB / 0.7915 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.7055, allocations: 406.1 kB / 0.7919 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.7055, allocations: 29.27 kB / 0.7919 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.7057, allocations: 204.7 kB / 0.7921 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.7058, allocations: 128.2 kB / 0.7923 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/0.7059, allocations: 60.53 kB / 0.7923 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.706, allocations: 364.5 kB / 0.7927 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.7062, allocations: 145 kB / 0.7928 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.7064, allocations: 144.8 kB / 0.7929 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.7069, allocations: 337.3 kB / 0.7933 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.7069, allocations: 0 / 0.7933 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008081/0.7077, allocations: 0.5229 MB / 0.7938 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.7077, allocations: 5.344 kB / 0.7938 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.7077, allocations: 0 / 0.7938 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003595/0.7081, allocations: 117.1 kB / 0.7939 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.7084, allocations: 56.84 kB / 0.7939 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/0.7108, allocations: 2.227 MB / 0.7961 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.711, allocations: 9.25 kB / 0.7961 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.711, allocations: 17.69 kB / 0.7961 GB, free: 11.23 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * 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 {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.7113, allocations: 164.2 kB / 0.7963 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-05/0.7113, allocations: 52.86 kB / 0.7963 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000974/0.7123, allocations: 0.6548 MB / 0.797 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.7123, allocations: 0 / 0.797 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7123, allocations: 6.406 kB / 0.797 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.7123, allocations: 2.625 kB / 0.797 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.7128, allocations: 419.7 kB / 0.7974 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.7128, allocations: 3.938 kB / 0.7974 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.7129, allocations: 39.66 kB / 0.7974 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002996/0.7132, allocations: 123.2 kB / 0.7976 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.7133, allocations: 11.78 kB / 0.7976 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/0.7156, allocations: 2.228 MB / 0.7997 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7156, allocations: 4 kB / 0.7997 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009257/0.7165, allocations: 0.641 MB / 0.8004 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.7166, allocations: 46.7 kB / 0.8004 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.7166, allocations: 6.156 kB / 0.8004 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.7168, allocations: 8.812 kB / 0.8004 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.7169, allocations: 27.31 kB / 0.8005 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.7169, allocations: 8.078 kB / 0.8005 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000299/0.7172, allocations: 318.5 kB / 0.8008 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.7172, allocations: 0 / 0.8008 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005073/0.7177, allocations: 120 kB / 0.8009 GB, free: 9.102 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.m_flow) * 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 {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001524/0.7192, allocations: 1.273 MB / 0.8021 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009505/0.7202, allocations: 0.4963 MB / 0.8026 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7202, allocations: 0 / 0.8026 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005819/0.7207, allocations: 356 kB / 0.8029 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.7213, allocations: 109.2 kB / 0.8031 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005214/0.7265, allocations: 4.142 MB / 0.8071 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.727, allocations: 0.8311 MB / 0.8079 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002434/0.7272, allocations: 94.75 kB / 0.808 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.7274, allocations: 152.8 kB / 0.8081 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.7274, allocations: 1.812 kB / 0.8081 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04473/0.7721, allocations: 12.21 MB / 0.8201 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.17, allocations: 3.938 kB / 0.8201 GB, free: 15.91 MB / 0.6075 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ThermofluidStream_dev_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.csv failed! Error: Could not read variable junctionN.outlet.m_flow in file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.csv. Warning: Get data of variable junctionN.outlet.m_flow from file ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.95112764499936]