Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.00128/0.00128, 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.001021/0.001021, allocations: 169.9 kB / 22.45 MB, free: 2.109 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 1.149/1.149, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.6954/0.6954, allocations: 80.17 MB / 339.4 MB, free: 7.527 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.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 0.4924 GB, free: 6.633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.452e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.2009/0.2009, allocations: 127 MB / 0.6164 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004657/0.2056, allocations: 2.898 MB / 0.6192 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008328/0.2064, allocations: 39.62 kB / 0.6193 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.2077, allocations: 226.3 kB / 0.6195 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.2092, allocations: 421.2 kB / 0.6199 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.2109, allocations: 474 kB / 0.6204 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001298/0.2122, allocations: 0.7541 MB / 0.6211 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000405/0.2126, allocations: 85.59 kB / 0.6212 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002186/0.2148, allocations: 0.6188 MB / 0.6218 GB, free: 3.461 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004931/0.2153, allocations: 271.2 kB / 0.622 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.195e-05/0.2154, allocations: 28 kB / 0.6221 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.2168, allocations: 459 kB / 0.6225 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.2171, allocations: 87.55 kB / 0.6226 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.2174, allocations: 135.6 kB / 0.6227 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.2193, allocations: 0.6774 MB / 0.6234 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.2193, allocations: 0 / 0.6234 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2193, allocations: 0 / 0.6234 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.2194, allocations: 4 kB / 0.6234 GB, free: 1.816 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001981/0.2213, allocations: 0.734 MB / 0.6241 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/0.2214, allocations: 9.469 kB / 0.6241 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.805e-05/0.2215, allocations: 66.72 kB / 0.6242 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.2216, allocations: 56.61 kB / 0.6242 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.2227, allocations: 415.4 kB / 0.6246 GB, free: 496 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.2227, allocations: 17.03 kB / 0.6246 GB, free: 476 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.022e-05/0.2228, allocations: 28.38 kB / 0.6247 GB, free: 448 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.2233, allocations: 322.4 kB / 0.625 GB, free: 92 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2233, allocations: 0 / 0.625 GB, free: 92 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.2234, allocations: 15.94 kB / 0.625 GB, free: 76 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.2234, allocations: 8 kB / 0.625 GB, free: 68 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005438/0.2239, allocations: 195.8 kB / 0.6252 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.2258, allocations: 1.408 MB / 0.6265 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005719/0.2264, allocations: 163.7 kB / 0.6267 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.2265, allocations: 74.62 kB / 0.6268 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003774/0.2269, allocations: 67.91 kB / 0.6268 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.2269, allocations: 42.5 kB / 0.6269 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 3.447e-06/0.2269, allocations: 0 / 0.6269 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.000775/0.2277, allocations: 290.1 kB / 0.6272 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/0.2278, allocations: 106.8 kB / 0.6273 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.2283, allocations: 454.1 kB / 0.6277 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.2283, allocations: 29.7 kB / 0.6277 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.2287, allocations: 248.1 kB / 0.628 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.25e-05/0.2288, allocations: 55.48 kB / 0.628 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.2289, allocations: 41.7 kB / 0.6281 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.2291, allocations: 358.8 kB / 0.6284 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.2292, allocations: 59.95 kB / 0.6284 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.2293, allocations: 112.2 kB / 0.6286 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.2296, allocations: 185.9 kB / 0.6287 GB, free: 12 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2296, allocations: 0 / 0.6287 GB, free: 12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003797/0.23, allocations: 273.9 kB / 0.629 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.23, allocations: 8 kB / 0.629 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.23, allocations: 0 / 0.629 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.2302, allocations: 20.86 kB / 0.629 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.2304, allocations: 51.91 kB / 0.6291 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/0.2325, allocations: 1.278 MB / 0.6303 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.2326, allocations: 35.75 kB / 0.6304 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.2326, allocations: 12 kB / 0.6304 GB, free: 10.21 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.2328, allocations: 141.8 kB / 0.6305 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/0.2329, allocations: 51.88 kB / 0.6306 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.2334, allocations: 259.1 kB / 0.6308 GB, free: 9.738 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2334, allocations: 4.094 kB / 0.6308 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2334, allocations: 0 / 0.6308 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.2334, allocations: 7.969 kB / 0.6308 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.2338, allocations: 300.5 kB / 0.6311 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.2338, allocations: 4 kB / 0.6311 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.234, allocations: 31.98 kB / 0.6311 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001476/0.2341, allocations: 24.78 kB / 0.6312 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.2341, allocations: 7.984 kB / 0.6312 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.2352, allocations: 1.275 MB / 0.6324 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2352, allocations: 4.031 kB / 0.6324 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006423/0.2358, allocations: 458 kB / 0.6328 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.2359, allocations: 55.64 kB / 0.6329 GB, free: 7.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.2359, allocations: 8 kB / 0.6329 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.236, allocations: 7.984 kB / 0.6329 GB, free: 7.387 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.2361, allocations: 16.02 kB / 0.6329 GB, free: 7.371 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.2361, allocations: 15.92 kB / 0.6329 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003071/0.2364, allocations: 314.9 kB / 0.6332 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.2364, allocations: 0 / 0.6332 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005367/0.237, allocations: 99.83 kB / 0.6333 GB, free: 6.953 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001475/0.2384, allocations: 1.097 MB / 0.6344 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006264/0.2391, allocations: 258.5 kB / 0.6347 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.2391, allocations: 0 / 0.6347 GB, free: 5.566 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.2393, allocations: 186.6 kB / 0.6348 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007269/0.24, allocations: 164.6 kB / 0.635 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005341/0.2454, allocations: 3.505 MB / 0.6384 GB, free: 1.574 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.2457, allocations: 207.8 kB / 0.6386 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003334/0.246, allocations: 66.59 kB / 0.6387 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.2461, allocations: 160.4 kB / 0.6388 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of SimCode: time 1.724e-06/0.2462, allocations: 0 / 0.6388 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4715/0.7177, allocations: 12.63 MB / 0.6512 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.457/10.17, allocations: 3.875 kB / 0.6512 GB, free: 144.2 MB / 0.5417 GB " [Timeout remaining time 650] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv failed! Error: Could not read variable boundary_rear.fore.m_flow in file ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv. Warning: Get data of variable boundary_rear.fore.m_flow from file ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:Time,boundary_rear.fore.m_flow,terminal_fore.p,terminal_rear.p Variables in the result:time,boundary_fore.rear.m_flow,terminal_fore.p,terminal_rear.p [Calling sys.exit(0), Time elapsed: 13.61697565112263]