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.0016/0.0016, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.674/1.674, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9593/0.9593, allocations: 91.19 MB / 381.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 78.02 kB / 460.4 MB, free: 23.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2611, allocations: 67.69 MB / 0.5157 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.9067/1.168, allocations: 146.9 MB / 0.6592 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006512/1.174, allocations: 3.148 MB / 0.6622 GB, free: 1.793 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000792/1.175, allocations: 26.28 kB / 0.6623 GB, free: 1.781 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002094/1.178, allocations: 234.2 kB / 0.6625 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/1.179, allocations: 372.1 kB / 0.6628 GB, free: 1.281 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/1.181, allocations: 457.1 kB / 0.6633 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008902/1.182, allocations: 0.674 MB / 0.6639 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000468/1.182, allocations: 143.6 kB / 0.6641 GB, free: 480 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/1.185, allocations: 475.7 kB / 0.6645 GB, free: 176 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004492/1.185, allocations: 297.9 kB / 0.6648 GB, free: 0 / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.913e-05/1.185, allocations: 25.09 kB / 0.6648 GB, free: 0 / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/1.187, allocations: 0.5562 MB / 0.6654 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/1.187, allocations: 72.67 kB / 0.6655 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002752/1.187, allocations: 217.2 kB / 0.6657 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/1.189, allocations: 0.6649 MB / 0.6663 GB, free: 15.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/1.189, allocations: 4 kB / 0.6663 GB, free: 15.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.299e-06/1.189, allocations: 0 / 0.6663 GB, free: 15.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.022e-05/1.189, allocations: 0 / 0.6663 GB, free: 15.11 MB / 494.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.002312/1.191, allocations: 0.783 MB / 0.6671 GB, free: 14.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.603e-05/1.191, allocations: 7.531 kB / 0.6671 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/1.191, allocations: 58.23 kB / 0.6671 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/1.192, allocations: 59.39 kB / 0.6672 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008198/1.192, allocations: 429.1 kB / 0.6676 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/1.192, allocations: 22.91 kB / 0.6676 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.338e-05/1.193, allocations: 30.03 kB / 0.6677 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007043/1.193, allocations: 323.1 kB / 0.668 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/1.193, allocations: 2.625 kB / 0.668 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/1.193, allocations: 13.88 kB / 0.668 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/1.193, allocations: 8.5 kB / 0.668 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/1.194, allocations: 198.3 kB / 0.6682 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/1.198, allocations: 1.777 MB / 0.6699 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/1.198, allocations: 167.1 kB / 0.6701 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/1.198, allocations: 77.22 kB / 0.6701 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008741/1.199, allocations: 0.5231 MB / 0.6707 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/1.199, allocations: 41.06 kB / 0.6707 GB, free: 11.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/1.199, allocations: 0 / 0.6707 GB, free: 11.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.001107/1.2, allocations: 364.1 kB / 0.671 GB, free: 10.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.284e-05/1.2, allocations: 105.2 kB / 0.6711 GB, free: 10.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007098/1.201, allocations: 440.3 kB / 0.6716 GB, free: 10.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/1.201, allocations: 29.7 kB / 0.6716 GB, free: 10.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/1.201, allocations: 251.8 kB / 0.6718 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.426e-05/1.202, allocations: 52.14 kB / 0.6719 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/1.202, allocations: 44.42 kB / 0.6719 GB, free: 10.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003654/1.202, allocations: 357.3 kB / 0.6723 GB, free: 9.727 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/1.202, allocations: 56.66 kB / 0.6723 GB, free: 9.703 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/1.203, allocations: 108.6 kB / 0.6724 GB, free: 9.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/1.204, allocations: 178.8 kB / 0.6726 GB, free: 9.488 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.204, allocations: 3.938 kB / 0.6726 GB, free: 9.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006666/1.204, allocations: 261.9 kB / 0.6728 GB, free: 9.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/1.204, allocations: 7.375 kB / 0.6729 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.204, allocations: 7.938 kB / 0.6729 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002659/1.205, allocations: 29.84 kB / 0.6729 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/1.205, allocations: 53.72 kB / 0.6729 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/1.206, allocations: 1.379 MB / 0.6743 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/1.207, allocations: 33.8 kB / 0.6743 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/1.207, allocations: 11.66 kB / 0.6743 GB, free: 7.828 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.0002568/1.207, allocations: 159.3 kB / 0.6745 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/1.207, allocations: 49.59 kB / 0.6745 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007594/1.208, allocations: 253.2 kB / 0.6748 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/1.208, allocations: 0 / 0.6748 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.208, allocations: 6.375 kB / 0.6748 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/1.208, allocations: 3.984 kB / 0.6748 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008119/1.209, allocations: 350 kB / 0.6751 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/1.209, allocations: 7.938 kB / 0.6751 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/1.209, allocations: 35.22 kB / 0.6752 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002753/1.209, allocations: 24.66 kB / 0.6752 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.45e-05/1.21, allocations: 8.312 kB / 0.6752 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/1.211, allocations: 1.38 MB / 0.6765 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.212, allocations: 6.219 kB / 0.6765 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008276/1.212, allocations: 458.3 kB / 0.677 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/1.213, allocations: 120.7 kB / 0.6771 GB, free: 5.215 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/1.213, allocations: 10.84 kB / 0.6771 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/1.213, allocations: 8.516 kB / 0.6771 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.313e-05/1.213, allocations: 15.73 kB / 0.6771 GB, free: 5.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/1.213, allocations: 6.188 kB / 0.6771 GB, free: 5.191 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004504/1.213, allocations: 313.5 kB / 0.6774 GB, free: 5.004 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.213, allocations: 0 / 0.6774 GB, free: 5.004 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006202/1.214, allocations: 99.23 kB / 0.6775 GB, free: 4.98 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.001481/1.216, allocations: 1.074 MB / 0.6786 GB, free: 4.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/1.217, allocations: 273.1 kB / 0.6788 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/1.217, allocations: 11.5 kB / 0.6788 GB, free: 3.875 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008167/1.218, allocations: 188.9 kB / 0.679 GB, free: 3.727 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/1.219, allocations: 113 kB / 0.6791 GB, free: 3.664 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007096/1.226, allocations: 3.623 MB / 0.6827 GB, free: 1.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/1.227, allocations: 0.8129 MB / 0.6835 GB, free: 292 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001984/1.227, allocations: 57.81 kB / 0.6835 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/1.227, allocations: 157.6 kB / 0.6837 GB, free: 132 kB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/1.227, allocations: 0 / 0.6837 GB, free: 132 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0507/1.278, allocations: 9.981 MB / 0.6934 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.6, allocations: 9.188 kB / 0.6934 GB, free: 8.707 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 & 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