Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_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_3_2_3_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.001291/0.001291, allocations: 107.1 kB / 16.27 MB, free: 6.41 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.001547/0.001547, allocations: 191.5 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2108/0.2108, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 73.62 kB / 382.9 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 57.79 MB / 440.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003093/0.119, allocations: 2.003 MB / 442.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1205, allocations: 1.111 MB / 443.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.195e-05/0.1206, allocations: 8 kB / 443.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.1209, allocations: 59.66 kB / 443.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.1211, allocations: 75.45 kB / 443.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.1215, allocations: 163.4 kB / 444.1 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.1217, allocations: 322.5 kB / 444.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.002e-05/0.1218, allocations: 36.7 kB / 444.4 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1219, allocations: 115.4 kB / 444.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1221, allocations: 147.2 kB / 444.7 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.1221, allocations: 8 kB / 444.7 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.1224, allocations: 187.8 kB / 444.9 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.1225, allocations: 75.61 kB / 444.9 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.1226, allocations: 123.2 kB / 445.1 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.123, allocations: 382.6 kB / 445.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.123, allocations: 0 / 445.4 MB, free: 1.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.123, allocations: 4 kB / 445.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.123, allocations: 0 / 445.4 MB, free: 1.961 MB / 318.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.0009908/0.124, allocations: 0.6198 MB / 446 MB, free: 1.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.124, allocations: 12.03 kB / 446.1 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.707e-05/0.1241, allocations: 66.72 kB / 446.1 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.981e-05/0.1242, allocations: 36.47 kB / 446.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1244, allocations: 255.6 kB / 446.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.1244, allocations: 24.56 kB / 446.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.1245, allocations: 28 kB / 446.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/0.1251, allocations: 425.9 kB / 446.9 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1251, allocations: 0 / 446.9 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.1251, allocations: 8 kB / 446.9 MB, free: 400 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/0.1251, allocations: 24.48 kB / 446.9 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005621/0.1257, allocations: 322 kB / 447.2 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.1271, allocations: 1.1 MB / 448.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.1276, allocations: 247.7 kB / 448.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.1279, allocations: 106.5 kB / 448.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.128, allocations: 7.984 kB / 448.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.128, allocations: 38.5 kB / 448.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.996e-06/0.128, allocations: 7.984 kB / 448.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001004/0.129, allocations: 356.9 kB / 449.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.1291, allocations: 110.9 kB / 449.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.1295, allocations: 409.5 kB / 449.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1295, allocations: 29.7 kB / 449.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.1297, allocations: 179.9 kB / 449.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.1297, allocations: 55.25 kB / 449.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.1298, allocations: 57.94 kB / 449.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.13, allocations: 346.8 kB / 450.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.1303, allocations: 120.2 kB / 450.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.1307, allocations: 237.2 kB / 450.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.1314, allocations: 363.3 kB / 450.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1314, allocations: 0 / 450.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008268/0.1322, allocations: 405.1 kB / 451.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1322, allocations: 7.984 kB / 451.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.787e-05/0.1323, allocations: 24 kB / 451.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1323, allocations: 11.88 kB / 451.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.1326, allocations: 43.95 kB / 451.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.1326, allocations: 15.88 kB / 451.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.1329, allocations: 59.41 kB / 451.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.1329, allocations: 16 kB / 451.5 MB, free: 11.48 MB / 334.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.0001769/0.1331, allocations: 185.7 kB / 451.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/0.1332, allocations: 27.72 kB / 451.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005915/0.1338, allocations: 280.1 kB / 452 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1338, allocations: 4 kB / 452 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1338, allocations: 7.938 kB / 452 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1338, allocations: 0 / 452 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.1342, allocations: 305.4 kB / 452.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.024e-05/0.1343, allocations: 20 kB / 452.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1344, allocations: 23.97 kB / 452.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1344, allocations: 0 / 452.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.1345, allocations: 8 kB / 452.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1345, allocations: 3.984 kB / 452.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1345, allocations: 7.938 kB / 452.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007046/0.1352, allocations: 0.5083 MB / 452.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/0.1353, allocations: 108.7 kB / 453 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.1354, allocations: 7.984 kB / 453 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.1356, allocations: 19.98 kB / 453 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.1357, allocations: 19.92 kB / 453 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.1357, allocations: 8 kB / 453 MB, free: 9.852 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002676/0.136, allocations: 287.1 kB / 453.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.136, allocations: 0 / 453.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004848/0.1365, allocations: 95.94 kB / 453.4 MB, free: 9.48 MB / 334.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.001198/0.1377, allocations: 1.089 MB / 454.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007883/0.1385, allocations: 449.7 kB / 454.9 MB, free: 7.887 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1385, allocations: 0 / 454.9 MB, free: 7.887 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.1389, allocations: 263.2 kB / 455.2 MB, free: 7.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.1395, allocations: 84.56 kB / 455.3 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/0.1446, allocations: 3.85 MB / 459.1 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.145, allocations: 0.8064 MB / 459.9 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.1452, allocations: 62.92 kB / 460 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.1453, allocations: 86.92 kB / 460.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1454, allocations: 0 / 460.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/0.1727, allocations: 8.948 MB / 469 MB, free: 9.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.804/7.977, allocations: 16 kB / 469 MB, free: 9.586 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches