Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001414/0.001414, 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.001665/0.001665, allocations: 215.8 kB / 22.24 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.607/1.607, allocations: 230.6 MB / 256 MB, free: 7.805 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.8345/0.8345, allocations: 94.62 MB / 407 MB, free: 8.926 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.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestJunction,fileNamePrefix="ThermofluidStream_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.003012/0.003012, allocations: 87.81 kB / 0.5549 GB, free: 38.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1705, allocations: 73.05 MB / 0.6263 GB, free: 228 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1947/0.3652, allocations: 124.7 MB / 0.748 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.5157/0.8809, allocations: 4.205 MB / 0.7521 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007939/0.8817, allocations: 38.34 kB / 0.7522 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.8827, allocations: 188.7 kB / 0.7523 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.884, allocations: 320.6 kB / 0.7526 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.8859, allocations: 436.7 kB / 0.7531 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001388/0.8872, allocations: 0.7433 MB / 0.7538 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.8875, allocations: 71.06 kB / 0.7538 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.8886, allocations: 411.7 kB / 0.7542 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006889/0.8893, allocations: 331.8 kB / 0.7546 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.834e-05/0.8894, allocations: 35.61 kB / 0.7546 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.8904, allocations: 380.8 kB / 0.755 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.8906, allocations: 109.6 kB / 0.7551 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.8909, allocations: 167.9 kB / 0.7552 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.892, allocations: 0.6392 MB / 0.7558 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.8921, allocations: 1.031 kB / 0.7558 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8921, allocations: 1.188 kB / 0.7558 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.8921, allocations: 0 / 0.7558 GB, free: 3.25 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002267/0.8943, allocations: 0.7628 MB / 0.7566 GB, free: 18.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/0.8944, allocations: 9.625 kB / 0.7566 GB, free: 18.81 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001/0.8945, allocations: 62.47 kB / 0.7567 GB, free: 18.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.8946, allocations: 51.55 kB / 0.7567 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.8956, allocations: 418 kB / 0.7571 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.8957, allocations: 21.66 kB / 0.7571 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.821e-05/0.8957, allocations: 24.02 kB / 0.7571 GB, free: 18.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009208/0.8967, allocations: 449.8 kB / 0.7576 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.8967, allocations: 1.594 kB / 0.7576 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.8967, allocations: 13.69 kB / 0.7576 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.203e-05/0.8968, allocations: 17.03 kB / 0.7576 GB, free: 18.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009458/0.8977, allocations: 484.9 kB / 0.7581 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.9, allocations: 1.246 MB / 0.7593 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.9005, allocations: 224.1 kB / 0.7595 GB, free: 17.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.9008, allocations: 195.7 kB / 0.7597 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.901, allocations: 25.19 kB / 0.7597 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.9011, allocations: 37.81 kB / 0.7597 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 3.626e-06/0.9011, allocations: 2.547 kB / 0.7598 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002724/0.9038, allocations: 1.235 MB / 0.761 GB, free: 17.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.9038, allocations: 57.38 kB / 0.761 GB, free: 17.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.9043, allocations: 397.2 kB / 0.7614 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.9044, allocations: 33.08 kB / 0.7614 GB, free: 17.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.9045, allocations: 202.3 kB / 0.7616 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.9047, allocations: 122.4 kB / 0.7617 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.9048, allocations: 64.34 kB / 0.7618 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.905, allocations: 361.3 kB / 0.7621 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.9052, allocations: 144.7 kB / 0.7623 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.9054, allocations: 151.7 kB / 0.7624 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/0.9059, allocations: 337 kB / 0.7627 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9059, allocations: 0.875 kB / 0.7627 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009849/0.9069, allocations: 0.5149 MB / 0.7632 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.9069, allocations: 5 kB / 0.7633 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.9069, allocations: 3.109 kB / 0.7633 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005115/0.9074, allocations: 115.4 kB / 0.7634 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.9078, allocations: 57.05 kB / 0.7634 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003387/0.9111, allocations: 2.207 MB / 0.7656 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.9114, allocations: 12.81 kB / 0.7656 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/0.9114, allocations: 18.02 kB / 0.7656 GB, free: 15.42 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.0002785/0.9117, allocations: 161.9 kB / 0.7658 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.9118, allocations: 50.52 kB / 0.7658 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.9133, allocations: 0.6538 MB / 0.7664 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.9133, allocations: 2.938 kB / 0.7664 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9133, allocations: 2.156 kB / 0.7664 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.9134, allocations: 4.062 kB / 0.7665 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/0.914, allocations: 367.9 kB / 0.7668 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.914, allocations: 4.531 kB / 0.7668 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.9142, allocations: 31.61 kB / 0.7668 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003934/0.9146, allocations: 134.8 kB / 0.767 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.9146, allocations: 9.578 kB / 0.767 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/0.9176, allocations: 2.213 MB / 0.7691 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.9176, allocations: 0 / 0.7691 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.9188, allocations: 0.6497 MB / 0.7698 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.9189, allocations: 38.64 kB / 0.7698 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.843e-05/0.919, allocations: 9.188 kB / 0.7698 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.9192, allocations: 6.125 kB / 0.7698 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.9192, allocations: 23.78 kB / 0.7698 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.9193, allocations: 15.42 kB / 0.7699 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004902/0.9197, allocations: 317.5 kB / 0.7702 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.9197, allocations: 0.9062 kB / 0.7702 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007371/0.9205, allocations: 112.4 kB / 0.7703 GB, free: 13.34 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.001997/0.9225, allocations: 1.271 MB / 0.7715 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.9235, allocations: 0.5037 MB / 0.772 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.9235, allocations: 0 / 0.772 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006365/0.9242, allocations: 359.2 kB / 0.7723 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/0.9248, allocations: 111 kB / 0.7725 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006491/0.9313, allocations: 4.134 MB / 0.7765 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.9315, allocations: 224.1 kB / 0.7767 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002978/0.9318, allocations: 96.92 kB / 0.7768 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.9321, allocations: 157.6 kB / 0.7769 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of SimCode: time 1.242e-06/0.9321, allocations: 0.9062 kB / 0.7769 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04783/0.9799, allocations: 13.05 MB / 0.7897 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.77, allocations: 6.953 kB / 0.7897 GB, free: 9.141 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.sim & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_Topology_Tests_TestJunction.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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_ThermofluidStream.Topology.Tests.TestJunction_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.csv failed! Error: Could not read variable junctionN.outlet.m_flow in file ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.csv. Warning: Get data of variable junctionN.outlet.m_flow from file ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunction_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.864485780708492]