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-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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_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.007306/0.007306, allocations: 99.16 kB / 15.73 MB, free: 6.004 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.001527/0.001527, allocations: 191.8 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6886/0.6886, allocations: 91.19 MB / 381.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 76.2 kB / 0.5164 GB, free: 4.598 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3056, allocations: 67.69 MB / 0.5825 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1445/0.4502, allocations: 146.9 MB / 0.7259 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003608/0.4538, allocations: 3.151 MB / 0.729 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005586/0.4544, allocations: 27.81 kB / 0.729 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007811/0.4553, allocations: 234.4 kB / 0.7293 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.4564, allocations: 381.7 kB / 0.7296 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.4574, allocations: 462.3 kB / 0.7301 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008842/0.4583, allocations: 0.6729 MB / 0.7307 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.4586, allocations: 137.1 kB / 0.7308 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.4597, allocations: 0.4939 MB / 0.7313 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000442/0.4602, allocations: 290.7 kB / 0.7316 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.792e-05/0.4602, allocations: 28 kB / 0.7316 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.4614, allocations: 0.5536 MB / 0.7322 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.4615, allocations: 67.66 kB / 0.7322 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.4617, allocations: 218.6 kB / 0.7324 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.463, allocations: 0.6895 MB / 0.7331 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.463, allocations: 0 / 0.7331 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.463, allocations: 3.938 kB / 0.7331 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.378e-05/0.463, allocations: 0 / 0.7331 GB, free: 3.223 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.001364/0.4644, allocations: 0.8054 MB / 0.7339 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4644, allocations: 15.97 kB / 0.7339 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.246e-05/0.4645, allocations: 58.73 kB / 0.734 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.618e-05/0.4646, allocations: 56.56 kB / 0.734 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008255/0.4654, allocations: 482.2 kB / 0.7345 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.4655, allocations: 20.88 kB / 0.7345 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.4655, allocations: 28.38 kB / 0.7345 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.4661, allocations: 320.5 kB / 0.7348 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4661, allocations: 4 kB / 0.7348 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.4662, allocations: 8 kB / 0.7349 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.4662, allocations: 8 kB / 0.7349 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.4666, allocations: 203.7 kB / 0.7351 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2783/0.7449, allocations: 1.772 MB / 0.7368 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.7455, allocations: 171.6 kB / 0.737 GB, free: 154 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.7456, allocations: 72.39 kB / 0.737 GB, free: 154 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006077/0.7462, allocations: 0.5221 MB / 0.7375 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.7463, allocations: 36.98 kB / 0.7376 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.953e-06/0.7463, allocations: 2.531 kB / 0.7376 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009159/0.7472, allocations: 355.6 kB / 0.7379 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.7472, allocations: 111.5 kB / 0.738 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000531/0.7478, allocations: 445 kB / 0.7384 GB, free: 153 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.7478, allocations: 30.45 kB / 0.7385 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.748, allocations: 247.6 kB / 0.7387 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.748, allocations: 61.5 kB / 0.7388 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-05/0.7481, allocations: 40.61 kB / 0.7388 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.7482, allocations: 356.4 kB / 0.7391 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.7484, allocations: 56.61 kB / 0.7392 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.7486, allocations: 114.2 kB / 0.7393 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.7489, allocations: 177.2 kB / 0.7395 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7489, allocations: 0.9375 kB / 0.7395 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000519/0.7494, allocations: 274.5 kB / 0.7397 GB, free: 152 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.7495, allocations: 5.469 kB / 0.7397 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.7495, allocations: 4.531 kB / 0.7397 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001535/0.7496, allocations: 23.22 kB / 0.7398 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.7499, allocations: 51.84 kB / 0.7398 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007424/0.7506, allocations: 1.391 MB / 0.7412 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.7508, allocations: 29.84 kB / 0.7412 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.7508, allocations: 7.156 kB / 0.7412 GB, free: 150.6 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.0001353/0.751, allocations: 159.9 kB / 0.7414 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.7511, allocations: 50.41 kB / 0.7414 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006464/0.7517, allocations: 257.8 kB / 0.7417 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.7517, allocations: 2.906 kB / 0.7417 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.7518, allocations: 2.375 kB / 0.7417 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.7518, allocations: 4.562 kB / 0.7417 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.7522, allocations: 361.9 kB / 0.742 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7522, allocations: 1.312 kB / 0.742 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.7524, allocations: 35.81 kB / 0.742 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.763e-05/0.7525, allocations: 22.69 kB / 0.7421 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.7525, allocations: 15.25 kB / 0.7421 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006796/0.7532, allocations: 1.388 MB / 0.7434 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7532, allocations: 0 / 0.7434 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.7539, allocations: 456.6 kB / 0.7439 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.754, allocations: 114 kB / 0.744 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/0.7541, allocations: 6.547 kB / 0.744 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.7543, allocations: 11.94 kB / 0.744 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.7543, allocations: 23.92 kB / 0.744 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.7543, allocations: 8.109 kB / 0.744 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003777/0.7547, allocations: 312.3 kB / 0.7443 GB, free: 148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7547, allocations: 0 / 0.7443 GB, free: 148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005069/0.7553, allocations: 97.02 kB / 0.7444 GB, free: 148 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.001073/0.7563, allocations: 1.081 MB / 0.7455 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006236/0.757, allocations: 273.6 kB / 0.7457 GB, free: 147 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.757, allocations: 0 / 0.7457 GB, free: 147 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.7573, allocations: 189.9 kB / 0.7459 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007983/0.7581, allocations: 107 kB / 0.746 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/0.763, allocations: 3.567 MB / 0.7495 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.7633, allocations: 0.8164 MB / 0.7503 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002377/0.7635, allocations: 61.3 kB / 0.7504 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.7637, allocations: 155.8 kB / 0.7505 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.7637, allocations: 0 / 0.7505 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.7911, allocations: 10.15 MB / 0.7604 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.21, allocations: 19.3 kB / 0.7604 GB, free: 135.2 MB / 0.5762 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