Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 109.2 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8031/0.8031, allocations: 93.71 MB / 390.9 MB, free: 4.645 MB / 302.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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002378/0.002378, allocations: 82.08 kB / 0.5285 GB, free: 40.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1238, allocations: 68.28 MB / 0.5952 GB, free: 8.172 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1803/0.3042, allocations: 146.9 MB / 0.7386 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004189/0.3084, allocations: 3.159 MB / 0.7417 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004767/0.3089, allocations: 27.81 kB / 0.7417 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007334/0.3097, allocations: 230.5 kB / 0.7419 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.3107, allocations: 377.6 kB / 0.7423 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.3119, allocations: 446.3 kB / 0.7427 GB, free: 500 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3622/0.6741, allocations: 0.6718 MB / 0.7434 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/0.6744, allocations: 133 kB / 0.7435 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.6759, allocations: 488.5 kB / 0.744 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004438/0.6764, allocations: 289.5 kB / 0.7442 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.441e-05/0.6765, allocations: 24.91 kB / 0.7443 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.6778, allocations: 0.5542 MB / 0.7448 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.62e-05/0.6779, allocations: 70.28 kB / 0.7449 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003105/0.6782, allocations: 220.4 kB / 0.7451 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.6794, allocations: 0.6892 MB / 0.7457 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6794, allocations: 0.75 kB / 0.7457 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6794, allocations: 0.5625 kB / 0.7457 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.6794, allocations: 0 / 0.7457 GB, free: 2.441 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001529/0.681, allocations: 0.8043 MB / 0.7465 GB, free: 17.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.681, allocations: 8.75 kB / 0.7465 GB, free: 17.89 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.257e-05/0.6811, allocations: 63.2 kB / 0.7466 GB, free: 17.85 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.6812, allocations: 58.66 kB / 0.7467 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008611/0.6821, allocations: 483.9 kB / 0.7471 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.6821, allocations: 22.69 kB / 0.7471 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.6822, allocations: 28.33 kB / 0.7472 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/0.6827, allocations: 326.3 kB / 0.7475 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.6827, allocations: 1.312 kB / 0.7475 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.6828, allocations: 12.48 kB / 0.7475 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.6828, allocations: 5.875 kB / 0.7475 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005279/0.6833, allocations: 203.3 kB / 0.7477 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.6852, allocations: 1.777 MB / 0.7494 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.6857, allocations: 172.9 kB / 0.7496 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.6859, allocations: 72.8 kB / 0.7497 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000661/0.6865, allocations: 0.521 MB / 0.7502 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.863e-05/0.6866, allocations: 43.12 kB / 0.7502 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 4.489e-06/0.6867, allocations: 0 / 0.7502 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009158/0.6876, allocations: 356.2 kB / 0.7506 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.6877, allocations: 110.5 kB / 0.7507 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005475/0.6882, allocations: 440.1 kB / 0.7511 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.6883, allocations: 31.48 kB / 0.7511 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.6884, allocations: 250.9 kB / 0.7513 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.6885, allocations: 56.28 kB / 0.7514 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.058e-05/0.6886, allocations: 48.23 kB / 0.7514 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6887, allocations: 355.4 kB / 0.7518 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.6889, allocations: 56.55 kB / 0.7518 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.6892, allocations: 109.3 kB / 0.7519 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.6895, allocations: 177 kB / 0.7521 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6895, allocations: 5.875 kB / 0.7521 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005462/0.6901, allocations: 270.3 kB / 0.7524 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.6902, allocations: 5.531 kB / 0.7524 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.6902, allocations: 2.656 kB / 0.7524 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.6904, allocations: 28.58 kB / 0.7524 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.6906, allocations: 47.95 kB / 0.7525 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.6918, allocations: 1.388 MB / 0.7538 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.692, allocations: 33.31 kB / 0.7538 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.692, allocations: 9.797 kB / 0.7539 GB, free: 12.95 MB / 0.5919 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.0001516/0.6922, allocations: 156.1 kB / 0.754 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.151e-05/0.6923, allocations: 48.47 kB / 0.754 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006814/0.693, allocations: 261.3 kB / 0.7543 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.693, allocations: 2.281 kB / 0.7543 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.693, allocations: 4.047 kB / 0.7543 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.693, allocations: 2.5 kB / 0.7543 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.6934, allocations: 357.5 kB / 0.7546 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6935, allocations: 1.844 kB / 0.7546 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.6936, allocations: 37.14 kB / 0.7547 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.816e-05/0.6937, allocations: 24.45 kB / 0.7547 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.6937, allocations: 5.719 kB / 0.7547 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.6948, allocations: 1.38 MB / 0.7561 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6948, allocations: 4.688 kB / 0.7561 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006947/0.6955, allocations: 461.7 kB / 0.7565 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.73e-05/0.6956, allocations: 120.4 kB / 0.7566 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.6957, allocations: 12.72 kB / 0.7566 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.6958, allocations: 7.062 kB / 0.7566 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.6959, allocations: 20.33 kB / 0.7567 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.6959, allocations: 3.656 kB / 0.7567 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003512/0.6963, allocations: 317.3 kB / 0.757 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6963, allocations: 0 / 0.757 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005766/0.6969, allocations: 95.89 kB / 0.7571 GB, free: 10.72 MB / 0.5919 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.001481/0.6984, allocations: 1.081 MB / 0.7581 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006369/0.699, allocations: 264.2 kB / 0.7584 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.699, allocations: 0.9375 kB / 0.7584 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004609/0.6995, allocations: 194.9 kB / 0.7585 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007297/0.7002, allocations: 112.1 kB / 0.7587 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/0.705, allocations: 3.57 MB / 0.7621 GB, free: 8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.7056, allocations: 0.8138 MB / 0.7629 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001802/0.7058, allocations: 56.88 kB / 0.763 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.706, allocations: 150.6 kB / 0.7631 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of SimCode: time 8.42e-07/0.706, allocations: 0 / 0.7631 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04077/0.7468, allocations: 10.17 MB / 0.7731 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.64, allocations: 11.95 kB / 0.7731 GB, free: 6.305 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv. Warning: Get data of variable Time from file ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv failed! Error: Could not read variable boundary_rear.fore.m_flow in file ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv. Warning: Get data of variable boundary_rear.fore.m_flow from file ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.323025772930123]