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.001153/0.001153, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00128/0.00128, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8819/0.8819, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.5341/0.5341, allocations: 80.17 MB / 339.4 MB, free: 7.535 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.4924 GB, free: 6.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.578e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1211/0.1212, allocations: 125.6 MB / 0.615 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003029/0.1242, allocations: 3.405 MB / 0.6183 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003463/0.1245, allocations: 39.62 kB / 0.6184 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006148/0.1251, allocations: 194.6 kB / 0.6185 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006903/0.1258, allocations: 361.8 kB / 0.6189 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008791/0.1267, allocations: 442 kB / 0.6193 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007034/0.1274, allocations: 0.8098 MB / 0.6201 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.1276, allocations: 70.88 kB / 0.6202 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008359/0.1285, allocations: 0.5023 MB / 0.6207 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.1289, allocations: 343.2 kB / 0.621 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.1289, allocations: 32 kB / 0.621 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006378/0.1296, allocations: 383.1 kB / 0.6214 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1297, allocations: 111.6 kB / 0.6215 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.1298, allocations: 147.6 kB / 0.6216 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007261/0.1305, allocations: 0.6581 MB / 0.6223 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1305, allocations: 0 / 0.6223 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1305, allocations: 0 / 0.6223 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.1305, allocations: 0 / 0.6223 GB, free: 2.957 MB / 0.5261 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.001216/0.1318, allocations: 0.7693 MB / 0.623 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.1318, allocations: 9.469 kB / 0.623 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.46e-05/0.1319, allocations: 66.72 kB / 0.6231 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.68e-05/0.132, allocations: 56.56 kB / 0.6231 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005482/0.1325, allocations: 411.6 kB / 0.6235 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.1325, allocations: 20.88 kB / 0.6236 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.1326, allocations: 28.31 kB / 0.6236 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.1331, allocations: 441.9 kB / 0.624 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1331, allocations: 192 / 0.624 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.1331, allocations: 19.94 kB / 0.624 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.1331, allocations: 20.47 kB / 0.624 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/0.1336, allocations: 485.5 kB / 0.6245 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.1351, allocations: 1.245 MB / 0.6257 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.1355, allocations: 218.5 kB / 0.6259 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.1357, allocations: 204.2 kB / 0.6261 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.1358, allocations: 24.52 kB / 0.6262 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1358, allocations: 38.5 kB / 0.6262 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 1.994e-06/0.1359, allocations: 0 / 0.6262 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.001828/0.1377, allocations: 1.235 MB / 0.6274 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1377, allocations: 55.41 kB / 0.6274 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.138, allocations: 398 kB / 0.6278 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.1381, allocations: 33.64 kB / 0.6279 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1382, allocations: 204.6 kB / 0.6281 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.322e-05/0.1383, allocations: 122.9 kB / 0.6282 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.1384, allocations: 65.67 kB / 0.6282 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1385, allocations: 358.8 kB / 0.6286 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.1387, allocations: 143.8 kB / 0.6287 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1388, allocations: 159.7 kB / 0.6289 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.1392, allocations: 333.3 kB / 0.6292 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1392, allocations: 0 / 0.6292 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006097/0.1398, allocations: 0.5208 MB / 0.6297 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.1399, allocations: 7.984 kB / 0.6297 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1399, allocations: 4 kB / 0.6297 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003519/0.1402, allocations: 116.7 kB / 0.6298 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.1404, allocations: 51.95 kB / 0.6299 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.1423, allocations: 2.195 MB / 0.632 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.1425, allocations: 12.03 kB / 0.632 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.1425, allocations: 23.92 kB / 0.632 GB, free: 8.582 MB / 0.5417 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.0001545/0.1426, allocations: 162 kB / 0.6322 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.1427, allocations: 51.75 kB / 0.6322 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007118/0.1434, allocations: 0.6625 MB / 0.6329 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1434, allocations: 3.938 kB / 0.6329 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1434, allocations: 4 kB / 0.6329 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1434, allocations: 0 / 0.6329 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.1438, allocations: 364.5 kB / 0.6333 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1438, allocations: 0 / 0.6333 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.562e-05/0.1439, allocations: 27.97 kB / 0.6333 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002247/0.1441, allocations: 128.6 kB / 0.6334 GB, free: 7.105 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.1441, allocations: 27.84 kB / 0.6334 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.1461, allocations: 2.215 MB / 0.6356 GB, free: 4.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1461, allocations: 0 / 0.6356 GB, free: 4.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.1467, allocations: 0.6427 MB / 0.6362 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.1468, allocations: 39.67 kB / 0.6363 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.1468, allocations: 8 kB / 0.6363 GB, free: 4.035 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.234e-05/0.1469, allocations: 8.031 kB / 0.6363 GB, free: 4.027 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.147, allocations: 27.89 kB / 0.6363 GB, free: 4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.147, allocations: 11.97 kB / 0.6363 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002359/0.1472, allocations: 318.9 kB / 0.6366 GB, free: 3.676 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.1472, allocations: 4 kB / 0.6366 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003752/0.1476, allocations: 116 kB / 0.6367 GB, free: 3.559 MB / 0.5417 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.001422/0.149, allocations: 1.275 MB / 0.638 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009378/0.1499, allocations: 0.5022 MB / 0.6385 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1499, allocations: 0 / 0.6385 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006083/0.1506, allocations: 358.8 kB / 0.6388 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007973/0.1514, allocations: 175.8 kB / 0.639 GB, free: 1.203 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.245/0.3964, allocations: 4.083 MB / 0.643 GB, free: 147.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.3967, allocations: 228.9 kB / 0.6432 GB, free: 147.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003357/0.397, allocations: 101.1 kB / 0.6433 GB, free: 147.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.3972, allocations: 157.7 kB / 0.6434 GB, free: 147 MB / 0.5417 GB Notification: Performance of SimCode: time 2.174e-06/0.3972, allocations: 0 / 0.6434 GB, free: 147 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0374/0.4346, allocations: 14.63 MB / 0.6577 GB, free: 140.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/8.023, allocations: 2.656 kB / 0.6577 GB, free: 140.7 MB / 0.5417 GB " [Timeout remaining time 652] (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/jenkins/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: 10.518106359057128]