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.002216/0.002215, 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.002967/0.002967, allocations: 191.7 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 2.226/2.226, allocations: 222.9 MB / 240.2 MB, free: 4.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.277/1.277, allocations: 91.21 MB / 381.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003155/0.003156, allocations: 81.86 kB / 460.4 MB, free: 23.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3355, allocations: 67.68 MB / 0.5157 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 1.187/1.523, allocations: 146.9 MB / 0.6592 GB, free: 4.301 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008507/1.531, allocations: 3.155 MB / 0.6623 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/1.532, allocations: 24.38 kB / 0.6623 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/1.534, allocations: 230.2 kB / 0.6625 GB, free: 1.516 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001657/1.536, allocations: 373.4 kB / 0.6629 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003032/1.539, allocations: 452.9 kB / 0.6633 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002167/1.541, allocations: 0.6742 MB / 0.664 GB, free: 488 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/1.541, allocations: 148.8 kB / 0.6641 GB, free: 404 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/1.543, allocations: 481.8 kB / 0.6646 GB, free: 96 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005443/1.544, allocations: 291.4 kB / 0.6648 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/1.544, allocations: 25.12 kB / 0.6649 GB, free: 15.92 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/1.546, allocations: 0.5548 MB / 0.6654 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003529/1.546, allocations: 72.09 kB / 0.6655 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005217/1.547, allocations: 213.2 kB / 0.6657 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003021/1.55, allocations: 0.6655 MB / 0.6663 GB, free: 15.04 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.367e-05/1.55, allocations: 0 / 0.6663 GB, free: 15.04 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.036e-06/1.55, allocations: 4 kB / 0.6663 GB, free: 15.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/1.55, allocations: 0 / 0.6663 GB, free: 15.03 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.002119/1.552, allocations: 0.7847 MB / 0.6671 GB, free: 14.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.93e-05/1.552, allocations: 10.28 kB / 0.6671 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001959/1.552, allocations: 62.25 kB / 0.6672 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003402/1.553, allocations: 55.84 kB / 0.6672 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008079/1.553, allocations: 424.7 kB / 0.6676 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/1.554, allocations: 23.06 kB / 0.6676 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-05/1.554, allocations: 25.47 kB / 0.6677 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009381/1.555, allocations: 327.4 kB / 0.668 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/1.555, allocations: 0 / 0.668 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/1.555, allocations: 14.81 kB / 0.668 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/1.555, allocations: 10.81 kB / 0.668 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/1.555, allocations: 195.1 kB / 0.6682 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005071/1.56, allocations: 1.785 MB / 0.6699 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000822/1.561, allocations: 170 kB / 0.6701 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/1.562, allocations: 69.42 kB / 0.6702 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009964/1.563, allocations: 0.5197 MB / 0.6707 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/1.563, allocations: 42.48 kB / 0.6707 GB, free: 10.99 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/1.563, allocations: 0 / 0.6707 GB, free: 10.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.001512/1.564, allocations: 368.4 kB / 0.6711 GB, free: 10.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.564, allocations: 105.6 kB / 0.6712 GB, free: 10.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/1.565, allocations: 440.6 kB / 0.6716 GB, free: 10.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/1.565, allocations: 25.7 kB / 0.6716 GB, free: 10.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/1.566, allocations: 248.6 kB / 0.6718 GB, free: 10.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/1.566, allocations: 51.08 kB / 0.6719 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/1.566, allocations: 48.73 kB / 0.6719 GB, free: 10 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005393/1.567, allocations: 356.7 kB / 0.6723 GB, free: 9.656 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/1.567, allocations: 57.12 kB / 0.6723 GB, free: 9.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/1.568, allocations: 112.8 kB / 0.6724 GB, free: 9.539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000839/1.569, allocations: 168.5 kB / 0.6726 GB, free: 9.422 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/1.569, allocations: 9.719 kB / 0.6726 GB, free: 9.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006455/1.569, allocations: 274.5 kB / 0.6729 GB, free: 9.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/1.569, allocations: 4.312 kB / 0.6729 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.569, allocations: 3.344 kB / 0.6729 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/1.57, allocations: 26.41 kB / 0.6729 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/1.57, allocations: 49.91 kB / 0.673 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/1.572, allocations: 1.379 MB / 0.6743 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/1.572, allocations: 35.8 kB / 0.6743 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/1.572, allocations: 5.344 kB / 0.6743 GB, free: 7.762 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.0002564/1.572, allocations: 151.7 kB / 0.6745 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/1.573, allocations: 53.61 kB / 0.6745 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007868/1.573, allocations: 263.1 kB / 0.6748 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/1.574, allocations: 2.781 kB / 0.6748 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-05/1.574, allocations: 7.922 kB / 0.6748 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/1.574, allocations: 2.094 kB / 0.6748 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007713/1.574, allocations: 355.8 kB / 0.6751 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.574, allocations: 0 / 0.6751 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/1.575, allocations: 35.31 kB / 0.6752 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/1.575, allocations: 30.88 kB / 0.6752 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/1.575, allocations: 2.156 kB / 0.6752 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003239/1.578, allocations: 1.386 MB / 0.6766 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.811e-05/1.578, allocations: 3.938 kB / 0.6766 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/1.58, allocations: 448 kB / 0.677 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/1.58, allocations: 122.5 kB / 0.6771 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/1.58, allocations: 6.531 kB / 0.6771 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/1.58, allocations: 16.73 kB / 0.6771 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/1.58, allocations: 19.39 kB / 0.6771 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/1.58, allocations: 9.406 kB / 0.6772 GB, free: 5.117 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005097/1.581, allocations: 310 kB / 0.6774 GB, free: 4.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.11e-07/1.581, allocations: 0 / 0.6774 GB, free: 4.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009276/1.582, allocations: 99.34 kB / 0.6775 GB, free: 4.906 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.002007/1.584, allocations: 1.078 MB / 0.6786 GB, free: 3.996 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007904/1.584, allocations: 269.5 kB / 0.6789 GB, free: 3.812 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/1.584, allocations: 4.25 kB / 0.6789 GB, free: 3.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004039/1.585, allocations: 195.9 kB / 0.679 GB, free: 3.656 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/1.587, allocations: 107.2 kB / 0.6791 GB, free: 3.602 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008453/1.595, allocations: 3.627 MB / 0.6827 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/1.597, allocations: 0.8105 MB / 0.6835 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005159/1.597, allocations: 60.34 kB / 0.6835 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/1.598, allocations: 154.1 kB / 0.6837 GB, free: 68 kB / 494.1 MB Notification: Performance of SimCode: time 3.326e-06/1.598, allocations: 0 / 0.6837 GB, free: 68 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.324/5.922, allocations: 9.985 MB / 0.6934 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.94/24.86, allocations: 5.469 kB / 0.6934 GB, free: 8.672 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