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.001226/0.001226, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001278/0.001278, allocations: 189.3 kB / 16.13 MB, free: 6.656 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.219/1.219, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5835/0.5835, allocations: 89.51 MB / 379.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 83.42 kB / 457.7 MB, free: 23.97 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/0.09554, allocations: 67.31 MB / 0.5127 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3193/0.4149, allocations: 144.8 MB / 0.6541 GB, free: 9.18 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003063/0.418, allocations: 3.135 MB / 0.6572 GB, free: 6.625 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.4183, allocations: 9.594 kB / 0.6572 GB, free: 6.621 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005713/0.4189, allocations: 204.3 kB / 0.6574 GB, free: 6.457 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005679/0.4195, allocations: 311.9 kB / 0.6577 GB, free: 6.207 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.4202, allocations: 405.7 kB / 0.6581 GB, free: 5.91 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.4207, allocations: 0.701 MB / 0.6587 GB, free: 5.516 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.4209, allocations: 115.9 kB / 0.6589 GB, free: 5.449 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007373/0.4216, allocations: 412.6 kB / 0.6592 GB, free: 5.195 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.4219, allocations: 273.5 kB / 0.6595 GB, free: 5.043 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.422, allocations: 17.56 kB / 0.6595 GB, free: 5.043 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007721/0.4227, allocations: 0.5492 MB / 0.6601 GB, free: 4.777 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.4228, allocations: 60.55 kB / 0.6601 GB, free: 4.73 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.423, allocations: 175.8 kB / 0.6603 GB, free: 4.621 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005812/0.4235, allocations: 0.5683 MB / 0.6608 GB, free: 4.258 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4236, allocations: 0 / 0.6608 GB, free: 4.258 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.4236, allocations: 0 / 0.6608 GB, free: 4.258 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.4236, allocations: 2.875 kB / 0.6608 GB, free: 4.258 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.0009018/0.4245, allocations: 0.6813 MB / 0.6615 GB, free: 3.656 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.4245, allocations: 10.06 kB / 0.6615 GB, free: 3.656 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.773e-05/0.4246, allocations: 62.36 kB / 0.6616 GB, free: 3.598 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.4246, allocations: 44.41 kB / 0.6616 GB, free: 3.574 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.4249, allocations: 290.6 kB / 0.6619 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4249, allocations: 19.56 kB / 0.6619 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.425, allocations: 30.12 kB / 0.6619 GB, free: 3.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.4254, allocations: 327.2 kB / 0.6623 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4255, allocations: 7.922 kB / 0.6623 GB, free: 3.016 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.4255, allocations: 12.59 kB / 0.6623 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4255, allocations: 5.281 kB / 0.6623 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/0.4259, allocations: 190.6 kB / 0.6625 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.4273, allocations: 1.751 MB / 0.6642 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.4277, allocations: 167.6 kB / 0.6643 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.4279, allocations: 72.41 kB / 0.6644 GB, free: 1.055 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005658/0.4284, allocations: 0.5242 MB / 0.6649 GB, free: 468 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.4285, allocations: 44.81 kB / 0.665 GB, free: 416 kB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.4285, allocations: 0 / 0.665 GB, free: 416 kB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007343/0.4292, allocations: 349 kB / 0.6653 GB, free: 164 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.4293, allocations: 106.8 kB / 0.6654 GB, free: 32 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.4296, allocations: 325.9 kB / 0.6657 GB, free: 15.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.4296, allocations: 29.7 kB / 0.6657 GB, free: 15.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.4297, allocations: 203.4 kB / 0.6659 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.4298, allocations: 52.86 kB / 0.666 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.4298, allocations: 42.61 kB / 0.666 GB, free: 15.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4299, allocations: 346.8 kB / 0.6663 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.4301, allocations: 57.72 kB / 0.6664 GB, free: 15.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.4302, allocations: 108.1 kB / 0.6665 GB, free: 15.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.4305, allocations: 176.6 kB / 0.6667 GB, free: 14.95 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4305, allocations: 3.938 kB / 0.6667 GB, free: 14.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004284/0.431, allocations: 252.5 kB / 0.6669 GB, free: 14.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.431, allocations: 4.562 kB / 0.6669 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.431, allocations: 6.844 kB / 0.6669 GB, free: 14.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.4311, allocations: 27.12 kB / 0.667 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.4313, allocations: 49.75 kB / 0.667 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007862/0.4321, allocations: 1.284 MB / 0.6683 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.4323, allocations: 36.61 kB / 0.6683 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.4323, allocations: 4.875 kB / 0.6683 GB, free: 13.4 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.0001219/0.4324, allocations: 148.6 kB / 0.6684 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.4325, allocations: 35.12 kB / 0.6685 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005022/0.433, allocations: 249.7 kB / 0.6687 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.433, allocations: 4 kB / 0.6687 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.433, allocations: 2.719 kB / 0.6687 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4331, allocations: 0 / 0.6687 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.4334, allocations: 312.1 kB / 0.669 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4334, allocations: 2 kB / 0.669 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.4336, allocations: 37.44 kB / 0.669 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.532e-05/0.4337, allocations: 26.81 kB / 0.6691 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.4337, allocations: 11.25 kB / 0.6691 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007463/0.4344, allocations: 1.293 MB / 0.6703 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4344, allocations: 0 / 0.6703 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005244/0.435, allocations: 433 kB / 0.6708 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.435, allocations: 118.2 kB / 0.6709 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.4351, allocations: 3 kB / 0.6709 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.4353, allocations: 16.7 kB / 0.6709 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.4353, allocations: 11.83 kB / 0.6709 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4353, allocations: 6.094 kB / 0.6709 GB, free: 10.92 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.4355, allocations: 235.8 kB / 0.6711 GB, free: 10.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4355, allocations: 0 / 0.6711 GB, free: 10.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003898/0.4359, allocations: 100.8 kB / 0.6712 GB, free: 10.75 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.0008846/0.4368, allocations: 1.067 MB / 0.6723 GB, free: 9.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004535/0.4373, allocations: 266.1 kB / 0.6725 GB, free: 9.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4373, allocations: 0 / 0.6725 GB, free: 9.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.4376, allocations: 195.5 kB / 0.6727 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/0.4383, allocations: 97.75 kB / 0.6728 GB, free: 9.453 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.4415, allocations: 3.216 MB / 0.6759 GB, free: 6.984 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.4418, allocations: 0.77 MB / 0.6767 GB, free: 6.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.442, allocations: 52.86 kB / 0.6767 GB, free: 6.223 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.4421, allocations: 106.5 kB / 0.6768 GB, free: 6.133 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4421, allocations: 0 / 0.6768 GB, free: 6.133 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.4598, allocations: 8.272 MB / 0.6849 GB, free: 2.125 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.46, allocations: 240 kB / 0.6852 GB, free: 1.875 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.227, allocations: 4 kB / 0.6852 GB, free: 1.871 MB / 494.1 MB (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