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.004592/0.004592, allocations: 99.14 kB / 15.73 MB, free: 6.047 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.001117/0.001117, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.654/0.654, allocations: 91.2 MB / 381.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 87.88 kB / 0.5164 GB, free: 9.504 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1241, allocations: 67.69 MB / 0.5825 GB, free: 5.738 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4372/0.5613, allocations: 146.9 MB / 0.7259 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00338/0.5647, allocations: 3.15 MB / 0.729 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/0.5651, allocations: 23.88 kB / 0.729 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006897/0.5659, allocations: 230.4 kB / 0.7292 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008435/0.5667, allocations: 381.6 kB / 0.7296 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000913/0.5676, allocations: 450.3 kB / 0.73 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006831/0.5683, allocations: 0.6884 MB / 0.7307 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.5686, allocations: 135.9 kB / 0.7308 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000914/0.5695, allocations: 497.9 kB / 0.7313 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.5699, allocations: 294.8 kB / 0.7316 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.57, allocations: 24 kB / 0.7316 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009444/0.5709, allocations: 0.5574 MB / 0.7321 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.571, allocations: 67.66 kB / 0.7322 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.5712, allocations: 210.8 kB / 0.7324 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008512/0.572, allocations: 0.6913 MB / 0.7331 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5721, allocations: 0 / 0.7331 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5721, allocations: 0 / 0.7331 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.5721, allocations: 0 / 0.7331 GB, free: 14.2 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.001182/0.5733, allocations: 0.787 MB / 0.7339 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.5733, allocations: 12.03 kB / 0.7339 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.235e-05/0.5734, allocations: 58.73 kB / 0.7339 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.5735, allocations: 56.28 kB / 0.734 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/0.5742, allocations: 481.5 kB / 0.7344 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.5742, allocations: 24.56 kB / 0.7345 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.5743, allocations: 24.56 kB / 0.7345 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.5748, allocations: 324.5 kB / 0.7348 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5748, allocations: 0 / 0.7348 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.5748, allocations: 15.98 kB / 0.7348 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.5748, allocations: 8 kB / 0.7348 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000389/0.5752, allocations: 191.8 kB / 0.735 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.5769, allocations: 1.777 MB / 0.7367 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.5774, allocations: 175.7 kB / 0.7369 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.5775, allocations: 66.64 kB / 0.737 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006235/0.5782, allocations: 0.5142 MB / 0.7375 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.5782, allocations: 50.48 kB / 0.7375 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.5782, allocations: 3.938 kB / 0.7375 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008201/0.579, allocations: 357.7 kB / 0.7379 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.5791, allocations: 106.8 kB / 0.738 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.5795, allocations: 446.1 kB / 0.7384 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.5795, allocations: 25.7 kB / 0.7384 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.5797, allocations: 255.9 kB / 0.7387 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.5798, allocations: 47.27 kB / 0.7387 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.85e-05/0.5798, allocations: 41.7 kB / 0.7387 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.58, allocations: 358.8 kB / 0.7391 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.5801, allocations: 59.97 kB / 0.7391 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.5803, allocations: 109.8 kB / 0.7392 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.5806, allocations: 170.8 kB / 0.7394 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5806, allocations: 3.938 kB / 0.7394 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004942/0.5811, allocations: 278.8 kB / 0.7397 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.5812, allocations: 8 kB / 0.7397 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5812, allocations: 0 / 0.7397 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/0.5813, allocations: 24.84 kB / 0.7397 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.5815, allocations: 47.91 kB / 0.7398 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000902/0.5824, allocations: 1.383 MB / 0.7411 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.5826, allocations: 39.86 kB / 0.7411 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.5826, allocations: 8.125 kB / 0.7412 GB, free: 5.23 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.0001426/0.5828, allocations: 149.8 kB / 0.7413 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.952e-05/0.5829, allocations: 51.38 kB / 0.7413 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/0.5834, allocations: 261.8 kB / 0.7416 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5834, allocations: 0 / 0.7416 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5835, allocations: 7.984 kB / 0.7416 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5835, allocations: 0 / 0.7416 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.5839, allocations: 353.3 kB / 0.7419 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.5839, allocations: 4 kB / 0.7419 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.584, allocations: 31.97 kB / 0.742 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.274e-05/0.5841, allocations: 32.78 kB / 0.742 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.5842, allocations: 0 / 0.742 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008652/0.585, allocations: 1.394 MB / 0.7434 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.585, allocations: 7.875 kB / 0.7434 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005874/0.5856, allocations: 448 kB / 0.7438 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.479e-05/0.5857, allocations: 124.5 kB / 0.7439 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.5858, allocations: 11.88 kB / 0.7439 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.586, allocations: 11.98 kB / 0.7439 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.586, allocations: 15.92 kB / 0.744 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.5861, allocations: 8 kB / 0.744 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000314/0.5864, allocations: 310.9 kB / 0.7443 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5864, allocations: 0 / 0.7443 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004547/0.5868, allocations: 107.8 kB / 0.7444 GB, free: 1.688 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.001083/0.5879, allocations: 1.078 MB / 0.7454 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005206/0.5885, allocations: 262.5 kB / 0.7457 GB, free: 320 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5885, allocations: 256 / 0.7457 GB, free: 320 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.5888, allocations: 202.6 kB / 0.7459 GB, free: 104 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.5895, allocations: 100.5 kB / 0.746 GB, free: 8 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.5938, allocations: 3.548 MB / 0.7494 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.5942, allocations: 0.8074 MB / 0.7502 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.5943, allocations: 59.19 kB / 0.7503 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.5945, allocations: 155.4 kB / 0.7504 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.5945, allocations: 0 / 0.7504 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/0.6278, allocations: 10.28 MB / 0.7605 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.79, allocations: 10.66 kB / 0.7605 GB, free: 1.184 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/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