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.001807/0.001807, allocations: 105.4 kB / 16.45 MB, free: 6.453 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.001924/0.001924, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.632/1.632, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.9594/0.9594, allocations: 100.3 MB / 409.1 MB, free: 4.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 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.002704/0.002704, allocations: 85.38 kB / 0.5582 GB, free: 36.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1952, allocations: 74.43 MB / 0.6309 GB, free: 9.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.714/0.9092, allocations: 145 MB / 0.7725 GB, free: 456 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006062/0.9153, allocations: 4.599 MB / 0.777 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008833/0.9162, allocations: 38.88 kB / 0.777 GB, free: 364 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008598/0.917, allocations: 208.2 kB / 0.7772 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.9181, allocations: 327.3 kB / 0.7775 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.9196, allocations: 432.6 kB / 0.7779 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.9207, allocations: 0.7464 MB / 0.7787 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.921, allocations: 74.78 kB / 0.7787 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009859/0.9219, allocations: 410 kB / 0.7791 GB, free: 188 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005766/0.9225, allocations: 336 kB / 0.7795 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-05/0.9226, allocations: 35.22 kB / 0.7795 GB, free: 180 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.924, allocations: 471.5 kB / 0.7799 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.9243, allocations: 104.2 kB / 0.78 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.9247, allocations: 212.7 kB / 0.7802 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.9261, allocations: 0.6495 MB / 0.7809 GB, free: 88 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9261, allocations: 0 / 0.7809 GB, free: 88 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9261, allocations: 0 / 0.7809 GB, free: 88 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.9261, allocations: 0 / 0.7809 GB, free: 88 kB / 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.001937/0.9281, allocations: 0.8297 MB / 0.7817 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001001/0.9282, allocations: 9.625 kB / 0.7817 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.9283, allocations: 65.41 kB / 0.7818 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.9284, allocations: 51.98 kB / 0.7818 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008214/0.9292, allocations: 492.4 kB / 0.7823 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.9293, allocations: 20.42 kB / 0.7823 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.9294, allocations: 31.31 kB / 0.7823 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007341/0.9302, allocations: 436.6 kB / 0.7827 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.9302, allocations: 1.406 kB / 0.7827 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.9302, allocations: 9.531 kB / 0.7827 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/0.9303, allocations: 30.11 kB / 0.7828 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009457/0.9312, allocations: 475.9 kB / 0.7832 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/0.9339, allocations: 1.455 MB / 0.7847 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.9344, allocations: 229.6 kB / 0.7849 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004135/0.9348, allocations: 192.7 kB / 0.7851 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003604/0.9352, allocations: 338.2 kB / 0.7854 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.9352, allocations: 39.62 kB / 0.7854 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.573e-06/0.9352, allocations: 0 / 0.7854 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.003112/0.9383, allocations: 1.533 MB / 0.7869 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.9384, allocations: 60.06 kB / 0.787 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/0.9389, allocations: 405.8 kB / 0.7874 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.9389, allocations: 29.39 kB / 0.7874 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.9391, allocations: 202.3 kB / 0.7876 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.9392, allocations: 122.9 kB / 0.7877 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.9394, allocations: 62.22 kB / 0.7878 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.9396, allocations: 360.2 kB / 0.7881 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.9398, allocations: 145.9 kB / 0.7882 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.9401, allocations: 142.7 kB / 0.7884 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005771/0.9407, allocations: 346.4 kB / 0.7887 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.9407, allocations: 0 / 0.7887 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001024/0.9417, allocations: 0.5121 MB / 0.7892 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.9417, allocations: 5.656 kB / 0.7892 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.9417, allocations: 0 / 0.7892 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004271/0.9421, allocations: 119.8 kB / 0.7893 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.9425, allocations: 56.45 kB / 0.7894 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003016/0.9455, allocations: 2.335 MB / 0.7917 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.9457, allocations: 9.969 kB / 0.7917 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.9458, allocations: 12.5 kB / 0.7917 GB, free: 10.9 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.0002325/0.946, allocations: 167.3 kB / 0.7918 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.883e-05/0.9461, allocations: 49.67 kB / 0.7919 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.9473, allocations: 0.6591 MB / 0.7925 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.9473, allocations: 2.625 kB / 0.7925 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.9473, allocations: 6.344 kB / 0.7925 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.9473, allocations: 0 / 0.7925 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.9478, allocations: 445.2 kB / 0.793 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.9478, allocations: 7.094 kB / 0.793 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.948, allocations: 33.47 kB / 0.793 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003116/0.9483, allocations: 125.5 kB / 0.7931 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.9484, allocations: 10.77 kB / 0.7931 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002908/0.9513, allocations: 2.342 MB / 0.7954 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.9513, allocations: 0 / 0.7954 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.9523, allocations: 0.6517 MB / 0.7961 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.9524, allocations: 114 kB / 0.7962 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.9525, allocations: 6.062 kB / 0.7962 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.9527, allocations: 7.469 kB / 0.7962 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.9528, allocations: 23.31 kB / 0.7962 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.9528, allocations: 9.984 kB / 0.7962 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000385/0.9532, allocations: 321.4 kB / 0.7965 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.9532, allocations: 1.203 kB / 0.7965 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005549/0.9538, allocations: 109.2 kB / 0.7966 GB, free: 8.504 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.001628/0.9554, allocations: 1.271 MB / 0.7979 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.9564, allocations: 0.4945 MB / 0.7983 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/0.9564, allocations: 0 / 0.7983 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006703/0.9571, allocations: 361.9 kB / 0.7987 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000703/0.9578, allocations: 112.2 kB / 0.7988 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/0.9642, allocations: 4.127 MB / 0.8028 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.9647, allocations: 0.8281 MB / 0.8036 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002879/0.965, allocations: 102.3 kB / 0.8037 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.9654, allocations: 154.6 kB / 0.8039 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/0.9654, allocations: 2.562 kB / 0.8039 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04919/1.015, allocations: 12 MB / 0.8156 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.28, allocations: 10.88 kB / 0.8156 GB, free: 15.76 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: 17.565620565088466]