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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005099/0.005099, allocations: 97.69 kB / 15.73 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 186.1 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.657/0.657, allocations: 89.47 MB / 380 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.00218, allocations: 79.86 kB / 0.5139 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1296, allocations: 67.3 MB / 0.5796 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4337/0.5634, allocations: 146.7 MB / 0.7229 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004039/0.5674, allocations: 3.098 MB / 0.726 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/0.5679, allocations: 7.938 kB / 0.726 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008582/0.5688, allocations: 226.5 kB / 0.7262 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009928/0.5698, allocations: 329.9 kB / 0.7265 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.5709, allocations: 462.3 kB / 0.727 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008085/0.5718, allocations: 0.5678 MB / 0.7275 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.572, allocations: 133.2 kB / 0.7276 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009084/0.573, allocations: 434.1 kB / 0.728 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.5733, allocations: 267 kB / 0.7283 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.975e-05/0.5734, allocations: 28 kB / 0.7283 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.5745, allocations: 0.5536 MB / 0.7289 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.5745, allocations: 67.7 kB / 0.7289 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.5747, allocations: 183.1 kB / 0.7291 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008704/0.5756, allocations: 0.5718 MB / 0.7297 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5756, allocations: 0 / 0.7297 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5756, allocations: 8 kB / 0.7297 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.5757, allocations: 0 / 0.7297 GB, free: 2.785 MB / 0.5606 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.001134/0.5768, allocations: 0.689 MB / 0.7303 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5768, allocations: 8.031 kB / 0.7304 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.526e-05/0.5769, allocations: 66.72 kB / 0.7304 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.577, allocations: 44.66 kB / 0.7305 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.5774, allocations: 291.6 kB / 0.7307 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.5774, allocations: 28.94 kB / 0.7308 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.5775, allocations: 33.06 kB / 0.7308 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/0.578, allocations: 316.5 kB / 0.7311 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.578, allocations: 4 kB / 0.7311 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.5781, allocations: 12 kB / 0.7311 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.5781, allocations: 8 kB / 0.7311 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.5785, allocations: 191.8 kB / 0.7313 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001909/0.5804, allocations: 1.758 MB / 0.733 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.581, allocations: 163.7 kB / 0.7332 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.5811, allocations: 78.64 kB / 0.7333 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006932/0.5818, allocations: 0.5181 MB / 0.7338 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.5819, allocations: 38.5 kB / 0.7338 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.5819, allocations: 0 / 0.7338 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008733/0.5828, allocations: 355.3 kB / 0.7341 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.5829, allocations: 106.8 kB / 0.7342 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.5832, allocations: 321.7 kB / 0.7345 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.5832, allocations: 37.7 kB / 0.7346 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.5834, allocations: 204.1 kB / 0.7348 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.5835, allocations: 55.55 kB / 0.7348 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.5836, allocations: 45.7 kB / 0.7349 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5837, allocations: 342.8 kB / 0.7352 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.5839, allocations: 51.97 kB / 0.7352 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.5841, allocations: 113.9 kB / 0.7354 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.5844, allocations: 173.9 kB / 0.7355 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5845, allocations: 3.938 kB / 0.7355 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000516/0.585, allocations: 250.1 kB / 0.7358 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.585, allocations: 9.719 kB / 0.7358 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.585, allocations: 4.125 kB / 0.7358 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.5852, allocations: 24.84 kB / 0.7358 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.5854, allocations: 47.91 kB / 0.7358 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.5865, allocations: 1.394 MB / 0.7372 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.5867, allocations: 27.83 kB / 0.7372 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.5867, allocations: 8 kB / 0.7372 GB, free: 10.33 MB / 0.5762 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.0001536/0.5869, allocations: 153.8 kB / 0.7374 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.741e-05/0.587, allocations: 39.7 kB / 0.7374 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005627/0.5875, allocations: 245 kB / 0.7377 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.5876, allocations: 4 kB / 0.7377 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.5876, allocations: 0 / 0.7377 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.5876, allocations: 0 / 0.7377 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004135/0.588, allocations: 317.4 kB / 0.738 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.588, allocations: 1.125 kB / 0.738 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.5882, allocations: 36.44 kB / 0.738 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-05/0.5883, allocations: 24.78 kB / 0.738 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.5883, allocations: 8 kB / 0.738 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.5894, allocations: 1.395 MB / 0.7394 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5894, allocations: 10.45 kB / 0.7394 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000646/0.5901, allocations: 437.7 kB / 0.7398 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/0.5902, allocations: 105 kB / 0.7399 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.5902, allocations: 12.94 kB / 0.7399 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.5904, allocations: 7.984 kB / 0.7399 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.5904, allocations: 19.92 kB / 0.74 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.5905, allocations: 4 kB / 0.74 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002483/0.5907, allocations: 239.2 kB / 0.7402 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5907, allocations: 0 / 0.7402 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004152/0.5911, allocations: 99.83 kB / 0.7403 GB, free: 6.957 MB / 0.5762 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.001167/0.5923, allocations: 1.068 MB / 0.7413 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005642/0.5929, allocations: 266.5 kB / 0.7416 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5929, allocations: 3.938 kB / 0.7416 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003544/0.5933, allocations: 198.9 kB / 0.7418 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007149/0.594, allocations: 92.17 kB / 0.7419 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/0.598, allocations: 3.099 MB / 0.7449 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.5984, allocations: 0.7753 MB / 0.7457 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.5986, allocations: 50.52 kB / 0.7457 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.5987, allocations: 103.4 kB / 0.7458 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.5988, allocations: 0 / 0.7458 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/0.6361, allocations: 8.74 MB / 0.7543 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.87, allocations: 10.73 kB / 0.7543 GB, free: 8.555 MB / 0.5919 GB (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) diffSimulationResults("ThermofluidStream_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/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches