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_overall.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_overall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",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.001367/0.001367, allocations: 109 kB / 16.27 MB, free: 5.93 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.001404/0.001405, allocations: 191.1 kB / 17.2 MB, free: 5.574 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.49/1.49, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2218/0.2218, allocations: 43.53 MB / 313.9 MB, free: 0.5156 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.001846/0.001846, allocations: 71.53 kB / 382.9 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.115, allocations: 57.78 MB / 440.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.004091/0.1192, allocations: 2.256 MB / 442.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1214, allocations: 2.088 MB / 445 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1215, allocations: 4 kB / 445 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.1219, allocations: 79.53 kB / 445.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.1221, allocations: 103.3 kB / 445.2 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008652/0.1229, allocations: 418.3 kB / 445.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000386/0.1233, allocations: 0.5054 MB / 446.1 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.512e-05/0.1234, allocations: 65.05 kB / 446.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.1236, allocations: 187 kB / 446.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1238, allocations: 210.8 kB / 446.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.1239, allocations: 16 kB / 446.5 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007879/0.1246, allocations: 0.6708 MB / 447.2 MB, free: 156 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.199e-05/0.1247, allocations: 99.47 kB / 447.3 MB, free: 56 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.1249, allocations: 214.7 kB / 447.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009353/0.1259, allocations: 0.8213 MB / 448.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1259, allocations: 0 / 448.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1259, allocations: 0 / 448.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.1259, allocations: 4 kB / 448.4 MB, free: 15.02 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001314/0.1272, allocations: 0.8347 MB / 449.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1273, allocations: 11.89 kB / 449.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.1274, allocations: 102.7 kB / 449.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.1275, allocations: 56.28 kB / 449.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.1279, allocations: 319.4 kB / 449.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.128, allocations: 41.69 kB / 449.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.815e-05/0.1281, allocations: 63.92 kB / 449.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.1292, allocations: 0.758 MB / 450.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.1292, allocations: 3.938 kB / 450.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.1293, allocations: 20 kB / 450.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/0.1293, allocations: 33.3 kB / 450.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.1303, allocations: 0.5515 MB / 451.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.1325, allocations: 1.684 MB / 452.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006348/0.1332, allocations: 311 kB / 453.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.1335, allocations: 146.5 kB / 453.3 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.849e-05/0.1336, allocations: 11.97 kB / 453.3 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.76e-05/0.1337, allocations: 50.44 kB / 453.3 MB, free: 9.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 2.565e-06/0.1337, allocations: 0 / 453.3 MB, free: 9.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001276/0.135, allocations: 0.4914 MB / 453.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/0.1351, allocations: 119 kB / 453.9 MB, free: 9.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007147/0.1358, allocations: 0.6431 MB / 454.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.1358, allocations: 25.7 kB / 454.6 MB, free: 8.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/0.1361, allocations: 287.5 kB / 454.9 MB, free: 8.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.804e-05/0.1361, allocations: 67.02 kB / 454.9 MB, free: 8.148 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.1363, allocations: 126 kB / 455.1 MB, free: 8.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1365, allocations: 362.8 kB / 455.4 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.137, allocations: 204.9 kB / 455.6 MB, free: 7.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/0.1376, allocations: 453.4 kB / 456.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.1386, allocations: 0.6738 MB / 456.7 MB, free: 6.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.1386, allocations: 4 kB / 456.7 MB, free: 6.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001258/0.1399, allocations: 0.6883 MB / 457.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.1399, allocations: 11.94 kB / 457.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-05/0.14, allocations: 51.98 kB / 457.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.1401, allocations: 12 kB / 457.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.1403, allocations: 71.83 kB / 457.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.1404, allocations: 19.92 kB / 457.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/0.1408, allocations: 107.1 kB / 457.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.1409, allocations: 32 kB / 457.7 MB, free: 5.082 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002801/0.1412, allocations: 261.5 kB / 458 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1413, allocations: 47.38 kB / 458 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009935/0.1423, allocations: 473.6 kB / 458.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.1423, allocations: 7.984 kB / 458.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1423, allocations: 0 / 458.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1423, allocations: 0 / 458.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007324/0.1431, allocations: 409.2 kB / 458.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.157e-05/0.1432, allocations: 43.92 kB / 458.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.1433, allocations: 27.97 kB / 459 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.1434, allocations: 7.938 kB / 459 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.1434, allocations: 15.98 kB / 459 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.1434, allocations: 3.938 kB / 459 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1434, allocations: 0 / 459 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.1444, allocations: 0.6238 MB / 459.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.1446, allocations: 132.5 kB / 459.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/0.1447, allocations: 0 / 459.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.145, allocations: 23.97 kB / 459.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.1451, allocations: 19.98 kB / 459.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.1452, allocations: 20 kB / 459.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005744/0.1457, allocations: 446.7 kB / 460.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1457, allocations: 0 / 460.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000921/0.1467, allocations: 191.8 kB / 460.4 MB, free: 2.27 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001572/0.1482, allocations: 1.282 MB / 461.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.1495, allocations: 0.775 MB / 462.5 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1495, allocations: 0.5625 kB / 462.5 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006351/0.1501, allocations: 492.2 kB / 463 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008792/0.151, allocations: 118.2 kB / 463.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007971/0.159, allocations: 6.092 MB / 469.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.1595, allocations: 0.8935 MB / 470.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003376/0.1598, allocations: 132.5 kB / 470.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.16, allocations: 143.4 kB / 470.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of SimCode: time 1.753e-06/0.16, allocations: 3.938 kB / 470.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04019/0.2002, allocations: 15.6 MB / 486 MB, free: 8.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.217, allocations: 12.36 kB / 486 MB, free: 8.238 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_overall.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches