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.001203/0.001203, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001177/0.001177, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.189/1.189, allocations: 222.9 MB / 239.9 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5712/0.5712, allocations: 91.19 MB / 381.3 MB, free: 9.492 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 83.88 kB / 459.9 MB, free: 23.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09537/0.09677, allocations: 67.69 MB / 0.5152 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3245/0.4213, allocations: 145.3 MB / 0.6571 GB, free: 5.945 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003163/0.4245, allocations: 3.189 MB / 0.6603 GB, free: 3.336 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000354/0.4249, allocations: 32.78 kB / 0.6603 GB, free: 3.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005589/0.4255, allocations: 207.7 kB / 0.6605 GB, free: 3.152 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006286/0.4261, allocations: 338.1 kB / 0.6608 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007293/0.4269, allocations: 421.3 kB / 0.6612 GB, free: 2.574 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005125/0.4274, allocations: 0.6856 MB / 0.6619 GB, free: 2.168 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.4276, allocations: 128.2 kB / 0.662 GB, free: 2.113 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000761/0.4284, allocations: 493.5 kB / 0.6625 GB, free: 1.801 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.4286, allocations: 295.4 kB / 0.6628 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.401e-05/0.4287, allocations: 25.19 kB / 0.6628 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007117/0.4294, allocations: 0.5634 MB / 0.6633 GB, free: 1.359 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.817e-05/0.4295, allocations: 75.75 kB / 0.6634 GB, free: 1.297 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.4296, allocations: 208.9 kB / 0.6636 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006346/0.4303, allocations: 0.6718 MB / 0.6643 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.4303, allocations: 0 / 0.6643 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.4303, allocations: 0 / 0.6643 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.4303, allocations: 0 / 0.6643 GB, free: 0.7344 MB / 478.1 MB 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.0009374/0.4312, allocations: 0.7887 MB / 0.665 GB, free: 56 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.4313, allocations: 10.09 kB / 0.665 GB, free: 56 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.359e-05/0.4314, allocations: 62.12 kB / 0.6651 GB, free: 15.99 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.4314, allocations: 56.16 kB / 0.6652 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.4319, allocations: 436.3 kB / 0.6656 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.4319, allocations: 19.25 kB / 0.6656 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.432, allocations: 25.59 kB / 0.6656 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.4324, allocations: 323.7 kB / 0.6659 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4324, allocations: 0 / 0.6659 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.4325, allocations: 10.44 kB / 0.6659 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.4325, allocations: 7.312 kB / 0.6659 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.4328, allocations: 203.1 kB / 0.6661 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.4343, allocations: 1.776 MB / 0.6679 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.4346, allocations: 167.5 kB / 0.668 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.4348, allocations: 74.72 kB / 0.6681 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000559/0.4354, allocations: 0.5251 MB / 0.6686 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.4354, allocations: 45.81 kB / 0.6687 GB, free: 12.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.4354, allocations: 0 / 0.6687 GB, free: 12.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007252/0.4361, allocations: 349.9 kB / 0.669 GB, free: 12.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.4362, allocations: 112.5 kB / 0.6691 GB, free: 12.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.4366, allocations: 445 kB / 0.6695 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.4366, allocations: 32.52 kB / 0.6696 GB, free: 12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.4367, allocations: 243 kB / 0.6698 GB, free: 11.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.4368, allocations: 53.94 kB / 0.6698 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.4368, allocations: 45.23 kB / 0.6699 GB, free: 11.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4369, allocations: 363.5 kB / 0.6702 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.4371, allocations: 53.34 kB / 0.6703 GB, free: 11.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.4372, allocations: 108 kB / 0.6704 GB, free: 11.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.4375, allocations: 175 kB / 0.6705 GB, free: 11.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4375, allocations: 3.938 kB / 0.6705 GB, free: 11.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004249/0.4379, allocations: 266.2 kB / 0.6708 GB, free: 10.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.438, allocations: 6.906 kB / 0.6708 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.438, allocations: 2.219 kB / 0.6708 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001198/0.4381, allocations: 31.5 kB / 0.6708 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.4383, allocations: 45.03 kB / 0.6709 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008102/0.4391, allocations: 1.387 MB / 0.6722 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.4393, allocations: 33.2 kB / 0.6723 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.4393, allocations: 9.562 kB / 0.6723 GB, free: 9.457 MB / 494.1 MB 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.0001295/0.4394, allocations: 151.2 kB / 0.6724 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.4395, allocations: 51.53 kB / 0.6725 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/0.44, allocations: 260.7 kB / 0.6727 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.44, allocations: 2.844 kB / 0.6727 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.4401, allocations: 0 / 0.6727 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4401, allocations: 6.391 kB / 0.6727 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.4404, allocations: 359.5 kB / 0.6731 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4404, allocations: 48 / 0.6731 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.4406, allocations: 39.23 kB / 0.6731 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-05/0.4407, allocations: 20.81 kB / 0.6731 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.4407, allocations: 5.062 kB / 0.6731 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007433/0.4414, allocations: 1.381 MB / 0.6745 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4415, allocations: 8.094 kB / 0.6745 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.442, allocations: 451.9 kB / 0.6749 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.39e-05/0.4421, allocations: 122.1 kB / 0.675 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.4421, allocations: 10.56 kB / 0.675 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.4423, allocations: 9.266 kB / 0.6751 GB, free: 6.836 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.4423, allocations: 15.67 kB / 0.6751 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.4424, allocations: 4.844 kB / 0.6751 GB, free: 6.828 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000246/0.4426, allocations: 310.8 kB / 0.6754 GB, free: 6.641 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4426, allocations: 0 / 0.6754 GB, free: 6.641 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003829/0.443, allocations: 98.8 kB / 0.6755 GB, free: 6.617 MB / 494.1 MB 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.0008708/0.4439, allocations: 1.095 MB / 0.6765 GB, free: 5.691 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004552/0.4443, allocations: 281.5 kB / 0.6768 GB, free: 5.496 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4444, allocations: 0 / 0.6768 GB, free: 5.496 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.4446, allocations: 187.5 kB / 0.677 GB, free: 5.352 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006801/0.4453, allocations: 106.6 kB / 0.6771 GB, free: 5.297 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/0.4491, allocations: 3.734 MB / 0.6807 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.4494, allocations: 0.8124 MB / 0.6815 GB, free: 1.797 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.4496, allocations: 62.08 kB / 0.6816 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.4497, allocations: 153.7 kB / 0.6817 GB, free: 1.641 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4497, allocations: 0 / 0.6817 GB, free: 1.641 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.4723, allocations: 9.842 MB / 0.6913 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/0.4725, allocations: 233.8 kB / 0.6916 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.214, allocations: 0 / 0.6916 GB, free: 10.45 MB / 0.4981 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