Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",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.001492/0.001492, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001654/0.001654, allocations: 192 kB / 18.55 MB, free: 4.566 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.372/1.372, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2152/0.2152, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.88 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1208, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003094/0.1239, allocations: 2.012 MB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.1255, allocations: 1.071 MB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.1256, allocations: 0 / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.1258, allocations: 55.61 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.126, allocations: 75.52 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.1265, allocations: 166.7 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.1268, allocations: 322.5 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.82e-05/0.1269, allocations: 36.72 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.1271, allocations: 119.4 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.1272, allocations: 131.4 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.1273, allocations: 12 kB / 473.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.1276, allocations: 199.7 kB / 473.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/0.1277, allocations: 71.67 kB / 473.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.1278, allocations: 123.2 kB / 473.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.1283, allocations: 382.8 kB / 474.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1283, allocations: 3.984 kB / 474.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1283, allocations: 0 / 474.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1283, allocations: 4 kB / 474.1 MB, free: 9.473 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009934/0.1293, allocations: 0.6198 MB / 474.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1293, allocations: 12.03 kB / 474.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.627e-05/0.1294, allocations: 70.7 kB / 474.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.1295, allocations: 28.56 kB / 474.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.1297, allocations: 259.4 kB / 475.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1298, allocations: 24.56 kB / 475.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.1298, allocations: 24 kB / 475.2 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006851/0.1305, allocations: 441.8 kB / 475.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1305, allocations: 4 kB / 475.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.1306, allocations: 8 kB / 475.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.1306, allocations: 20.56 kB / 475.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006668/0.1313, allocations: 321.9 kB / 475.9 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.1326, allocations: 1.096 MB / 477 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/0.1331, allocations: 243.7 kB / 477.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.1334, allocations: 106.5 kB / 477.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.1334, allocations: 7.922 kB / 477.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1335, allocations: 38.56 kB / 477.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.1335, allocations: 0 / 477.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001011/0.1345, allocations: 348.9 kB / 477.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.1346, allocations: 115.1 kB / 477.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.1349, allocations: 413.4 kB / 478.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.135, allocations: 25.7 kB / 478.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.1351, allocations: 191.8 kB / 478.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.1351, allocations: 51.34 kB / 478.5 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1353, allocations: 65.83 kB / 478.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1354, allocations: 338.8 kB / 478.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.1357, allocations: 124.1 kB / 479.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.1361, allocations: 233.6 kB / 479.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/0.1367, allocations: 359 kB / 479.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.1368, allocations: 11.94 kB / 479.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008118/0.1376, allocations: 397 kB / 480 MB, free: 3.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1376, allocations: 8 kB / 480 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.355e-05/0.1377, allocations: 27.98 kB / 480.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1377, allocations: 8 kB / 480.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.1379, allocations: 43.91 kB / 480.1 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.1379, allocations: 11.92 kB / 480.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.1382, allocations: 59.67 kB / 480.2 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.1382, allocations: 16 kB / 480.2 MB, free: 2.988 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001691/0.1384, allocations: 177.6 kB / 480.4 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.1385, allocations: 35.61 kB / 480.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005764/0.1391, allocations: 276.2 kB / 480.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.1391, allocations: 4 kB / 480.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1391, allocations: 3.938 kB / 480.7 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.1392, allocations: 7.984 kB / 480.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.1396, allocations: 301.4 kB / 481 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-05/0.1396, allocations: 19.98 kB / 481 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.1398, allocations: 23.97 kB / 481 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.1398, allocations: 4 kB / 481 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.1398, allocations: 11.94 kB / 481.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1398, allocations: 4 kB / 481.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1398, allocations: 3.938 kB / 481.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006902/0.1405, allocations: 0.494 MB / 481.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/0.1406, allocations: 108.7 kB / 481.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/0.1407, allocations: 8 kB / 481.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.141, allocations: 15.97 kB / 481.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.141, allocations: 20.02 kB / 481.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1411, allocations: 15.88 kB / 481.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002741/0.1414, allocations: 287.1 kB / 482 MB, free: 1.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1414, allocations: 0 / 482 MB, free: 1.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004899/0.1419, allocations: 103.9 kB / 482.1 MB, free: 0.9883 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001117/0.143, allocations: 1.089 MB / 483.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007685/0.1438, allocations: 437.8 kB / 483.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1438, allocations: 1.062 kB / 483.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.1441, allocations: 278 kB / 483.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005922/0.1447, allocations: 87.23 kB / 484 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/0.1496, allocations: 3.85 MB / 487.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.15, allocations: 0.7946 MB / 488.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.1502, allocations: 62.92 kB / 488.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.1503, allocations: 83.41 kB / 488.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1503, allocations: 0 / 488.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02749/0.1778, allocations: 8.951 MB / 497.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/7.933, allocations: 1.469 kB / 497.7 MB, free: 1.27 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches