Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.00107/0.001069, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001061/0.001061, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.357/1.357, allocations: 222.9 MB / 242.3 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2756/0.2756, allocations: 44.19 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 61.38 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1419, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.004633/0.1465, allocations: 2.091 MB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.1499, allocations: 1.67 MB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1501, allocations: 0 / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.1505, allocations: 91.44 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.1507, allocations: 59.44 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.1518, allocations: 350.7 kB / 473.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.1521, allocations: 139 kB / 473.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.854e-05/0.1521, allocations: 12.31 kB / 473.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.631e-05/0.1522, allocations: 63.59 kB / 473.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1524, allocations: 63.59 kB / 473.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.1524, allocations: 4 kB / 473.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.1538, allocations: 0.7568 MB / 474.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.1539, allocations: 27.8 kB / 474.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.915e-05/0.154, allocations: 71.48 kB / 474.8 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009162/0.155, allocations: 0.5685 MB / 475.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.155, allocations: 0 / 475.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.155, allocations: 0 / 475.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.155, allocations: 4 kB / 475.3 MB, free: 8.281 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007943/0.1558, allocations: 0.5097 MB / 475.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1559, allocations: 8.031 kB / 475.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.95e-05/0.1559, allocations: 58.72 kB / 475.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.156, allocations: 24.59 kB / 475.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.1561, allocations: 208.3 kB / 476.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1562, allocations: 12.44 kB / 476.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.1562, allocations: 20 kB / 476.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.1566, allocations: 271.4 kB / 476.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1566, allocations: 0 / 476.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1567, allocations: 4 kB / 476.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1567, allocations: 11.98 kB / 476.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.157, allocations: 156.2 kB / 476.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.158, allocations: 0.908 MB / 477.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.1583, allocations: 66.48 kB / 477.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1585, allocations: 32.95 kB / 477.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.1585, allocations: 0 / 477.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.1585, allocations: 30.56 kB / 477.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1585, allocations: 0 / 477.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004431/0.159, allocations: 141.3 kB / 477.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.159, allocations: 55.34 kB / 477.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.1593, allocations: 270.9 kB / 478.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1593, allocations: 25.7 kB / 478.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1594, allocations: 179 kB / 478.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.1594, allocations: 27.64 kB / 478.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.809e-05/0.1595, allocations: 49.7 kB / 478.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1596, allocations: 334.8 kB / 478.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1598, allocations: 44.2 kB / 478.7 MB, free: 4.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.16, allocations: 190 kB / 478.9 MB, free: 4.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.1604, allocations: 251.4 kB / 479.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1604, allocations: 4 kB / 479.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004415/0.1608, allocations: 253 kB / 479.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1609, allocations: 8 kB / 479.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.159e-05/0.1609, allocations: 24.67 kB / 479.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1609, allocations: 7.938 kB / 479.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.1611, allocations: 47.92 kB / 479.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/0.1611, allocations: 15.92 kB / 479.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.1613, allocations: 35.59 kB / 479.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.1613, allocations: 12 kB / 479.6 MB, free: 3.645 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.1614, allocations: 149.6 kB / 479.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.1615, allocations: 23.72 kB / 479.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.1618, allocations: 138.8 kB / 479.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1619, allocations: 3.938 kB / 479.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1619, allocations: 0 / 479.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1619, allocations: 0 / 479.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.1621, allocations: 221.5 kB / 480.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.1621, allocations: 12 kB / 480.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.1622, allocations: 7.984 kB / 480.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1622, allocations: 4 kB / 480.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1622, allocations: 4 kB / 480.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1622, allocations: 3.938 kB / 480.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1622, allocations: 0 / 480.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.1626, allocations: 203.2 kB / 480.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.1626, allocations: 96.91 kB / 480.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.1627, allocations: 0 / 480.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1628, allocations: 7.938 kB / 480.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.1628, allocations: 11.92 kB / 480.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1629, allocations: 0 / 480.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.163, allocations: 186 kB / 480.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.163, allocations: 0 / 480.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004874/0.1635, allocations: 99.91 kB / 480.7 MB, free: 2.391 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009151/0.1644, allocations: 0.8295 MB / 481.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004824/0.1649, allocations: 200.1 kB / 481.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1649, allocations: 0 / 481.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.1651, allocations: 107.7 kB / 481.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.1656, allocations: 28.81 kB / 481.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.1685, allocations: 2.5 MB / 484.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1688, allocations: 0.7285 MB / 485.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.714e-05/0.1689, allocations: 25.94 kB / 485.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.169, allocations: 67.41 kB / 485.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.169, allocations: 0 / 485.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.1964, allocations: 8.692 MB / 493.9 MB, free: 5.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.54, allocations: 8.875 kB / 493.9 MB, free: 5.137 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches