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.001321/0.001321, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002257/0.002257, allocations: 217.1 kB / 22.24 MB, free: 5.105 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.797 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.8139/0.8139, allocations: 100.9 MB / 413.3 MB, free: 2.902 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.002557/0.002557, allocations: 85.23 kB / 0.5641 GB, free: 35.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1598, allocations: 74.62 MB / 0.6369 GB, free: 6.52 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.5116/0.6714, allocations: 124.6 MB / 0.7586 GB, free: 3.18 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.004793/0.6762, allocations: 4.209 MB / 0.7627 GB, free: 3.137 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004489/0.6766, allocations: 39.38 kB / 0.7628 GB, free: 3.137 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.6773, allocations: 189.9 kB / 0.763 GB, free: 3.129 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0007829/0.678, allocations: 323.2 kB / 0.7633 GB, free: 3.121 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.6792, allocations: 428.7 kB / 0.7637 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0008194/0.6801, allocations: 0.7522 MB / 0.7644 GB, free: 3.102 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.6802, allocations: 69.94 kB / 0.7645 GB, free: 3.09 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008553/0.6811, allocations: 408.1 kB / 0.7649 GB, free: 3.086 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005455/0.6816, allocations: 333.1 kB / 0.7652 GB, free: 3.086 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.6817, allocations: 30.84 kB / 0.7652 GB, free: 3.086 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007869/0.6825, allocations: 384.8 kB / 0.7656 GB, free: 3.078 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.6826, allocations: 103.5 kB / 0.7657 GB, free: 3.078 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.6828, allocations: 172.3 kB / 0.7659 GB, free: 3.078 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0008634/0.6837, allocations: 0.6401 MB / 0.7665 GB, free: 3.031 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6837, allocations: 1.609 kB / 0.7665 GB, free: 3.031 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6837, allocations: 0.75 kB / 0.7665 GB, free: 3.031 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.6837, allocations: 1.375 kB / 0.7665 GB, free: 3.031 MB / 0.5763 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.001642/0.6853, allocations: 0.7594 MB / 0.7672 GB, free: 18.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.6854, allocations: 10.22 kB / 0.7672 GB, free: 18.59 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.103e-05/0.6855, allocations: 59.97 kB / 0.7673 GB, free: 18.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.561e-05/0.6855, allocations: 53.23 kB / 0.7673 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007543/0.6863, allocations: 422.2 kB / 0.7677 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.6863, allocations: 18.28 kB / 0.7678 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/0.6864, allocations: 28.59 kB / 0.7678 GB, free: 18.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006963/0.6871, allocations: 450.3 kB / 0.7682 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.6871, allocations: 2.031 kB / 0.7682 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.6871, allocations: 8.188 kB / 0.7682 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/0.6872, allocations: 18.42 kB / 0.7682 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000656/0.6878, allocations: 488 kB / 0.7687 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.6898, allocations: 1.251 MB / 0.7699 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.6902, allocations: 222.2 kB / 0.7701 GB, free: 17.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.6905, allocations: 189.1 kB / 0.7703 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.6907, allocations: 32 kB / 0.7704 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.6907, allocations: 37.75 kB / 0.7704 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.6907, allocations: 0 / 0.7704 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002675/0.6934, allocations: 1.227 MB / 0.7716 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.6935, allocations: 56.2 kB / 0.7716 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.6939, allocations: 396.6 kB / 0.772 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.694, allocations: 31.42 kB / 0.7721 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.6941, allocations: 205.5 kB / 0.7722 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.544e-05/0.6942, allocations: 121.6 kB / 0.7724 GB, free: 17 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.716e-05/0.6943, allocations: 69.77 kB / 0.7724 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.6945, allocations: 360.7 kB / 0.7728 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.6947, allocations: 145.2 kB / 0.7729 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.6949, allocations: 149.8 kB / 0.7731 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.6954, allocations: 339.4 kB / 0.7734 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.6954, allocations: 1 kB / 0.7734 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008779/0.6963, allocations: 0.5212 MB / 0.7739 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6963, allocations: 5.219 kB / 0.7739 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6963, allocations: 1.375 kB / 0.7739 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/0.6967, allocations: 114.4 kB / 0.774 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.697, allocations: 61.62 kB / 0.7741 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.6997, allocations: 2.212 MB / 0.7762 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.6999, allocations: 6.25 kB / 0.7762 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.7, allocations: 17.92 kB / 0.7762 GB, free: 15.17 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.0002426/0.7002, allocations: 167.1 kB / 0.7764 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/0.7003, allocations: 50.33 kB / 0.7765 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009456/0.7013, allocations: 0.6497 MB / 0.7771 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7013, allocations: 7.922 kB / 0.7771 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.7013, allocations: 1.719 kB / 0.7771 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.7013, allocations: 2.25 kB / 0.7771 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.7017, allocations: 359.8 kB / 0.7774 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.7017, allocations: 5.719 kB / 0.7774 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.7018, allocations: 38.34 kB / 0.7775 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003117/0.7021, allocations: 121.9 kB / 0.7776 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.7022, allocations: 10.25 kB / 0.7776 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/0.7045, allocations: 2.215 MB / 0.7798 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7045, allocations: 0 / 0.7798 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009471/0.7055, allocations: 0.6472 MB / 0.7804 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.7056, allocations: 40.92 kB / 0.7804 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.7056, allocations: 10.38 kB / 0.7805 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.7058, allocations: 10.27 kB / 0.7805 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.7058, allocations: 26.09 kB / 0.7805 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.7059, allocations: 7.938 kB / 0.7805 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003604/0.7062, allocations: 322.6 kB / 0.7808 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.7062, allocations: 1.281 kB / 0.7808 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005158/0.7067, allocations: 111.6 kB / 0.7809 GB, free: 13.09 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.001391/0.7081, allocations: 1.282 MB / 0.7822 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008659/0.709, allocations: 0.4947 MB / 0.7826 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.709, allocations: 2.188 kB / 0.7826 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.7096, allocations: 358.6 kB / 0.783 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000599/0.7102, allocations: 114.5 kB / 0.7831 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005171/0.7153, allocations: 4.136 MB / 0.7871 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.7155, allocations: 227.4 kB / 0.7874 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002611/0.7158, allocations: 96.89 kB / 0.7874 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.716, allocations: 154.9 kB / 0.7876 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of SimCode: time 8.11e-07/0.716, allocations: 0 / 0.7876 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04517/0.7611, allocations: 13.05 MB / 0.8003 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.39, allocations: 6.531 kB / 0.8003 GB, free: 8.801 MB / 0.5919 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.17856935923919]