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_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 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_overall,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001431/0.001431, allocations: 105.2 kB / 17.63 MB, free: 5.344 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.001093/0.001093, allocations: 192 kB / 18.56 MB, free: 4.434 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.34/1.34, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.218/0.218, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 76.56 kB / 408.6 MB, free: 27.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1104, allocations: 60.82 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003576/0.114, allocations: 2.247 MB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.1168, allocations: 2.044 MB / 473.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.175e-05/0.1169, allocations: 4 kB / 473.7 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.1172, allocations: 75.53 kB / 473.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.1175, allocations: 111.3 kB / 473.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009469/0.1184, allocations: 414.4 kB / 474.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004889/0.1189, allocations: 0.5247 MB / 474.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.119, allocations: 65.05 kB / 474.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.1193, allocations: 187 kB / 475 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.1195, allocations: 206.9 kB / 475.2 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.1196, allocations: 16 kB / 475.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009697/0.1206, allocations: 0.6669 MB / 475.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.1207, allocations: 103.5 kB / 476 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.1209, allocations: 202.6 kB / 476.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009227/0.1218, allocations: 0.8217 MB / 477 MB, free: 6.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1218, allocations: 0 / 477 MB, free: 6.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1219, allocations: 0 / 477 MB, free: 6.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.1219, allocations: 4 kB / 477 MB, free: 6.523 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001377/0.1233, allocations: 0.8424 MB / 477.9 MB, free: 5.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1233, allocations: 8.031 kB / 477.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.1234, allocations: 106.7 kB / 478 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.677e-05/0.1235, allocations: 56.28 kB / 478.1 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.1239, allocations: 315.4 kB / 478.4 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.1239, allocations: 45.69 kB / 478.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.124, allocations: 55.94 kB / 478.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.125, allocations: 0.7619 MB / 479.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1251, allocations: 0 / 479.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/0.1251, allocations: 20 kB / 479.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/0.1252, allocations: 37.28 kB / 479.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009698/0.1261, allocations: 0.5554 MB / 479.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.1284, allocations: 1.68 MB / 481.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.129, allocations: 299.6 kB / 481.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.1293, allocations: 146.6 kB / 482 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.247e-05/0.1294, allocations: 15.91 kB / 482 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.1294, allocations: 46.5 kB / 482 MB, free: 1.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.1294, allocations: 3.938 kB / 482 MB, free: 1.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001279/0.1307, allocations: 0.4949 MB / 482.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.1308, allocations: 119 kB / 482.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007224/0.1315, allocations: 0.6353 MB / 483.3 MB, free: 40 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.1316, allocations: 25.7 kB / 483.3 MB, free: 8 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.1318, allocations: 295.3 kB / 483.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.1319, allocations: 63.11 kB / 483.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.1321, allocations: 126 kB / 483.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1322, allocations: 362.8 kB / 484.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000452/0.1327, allocations: 196.9 kB / 484.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/0.1333, allocations: 462.4 kB / 484.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.1344, allocations: 0.675 MB / 485.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1344, allocations: 0 / 485.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00132/0.1357, allocations: 0.6907 MB / 486.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.1358, allocations: 11.94 kB / 486.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.981e-05/0.1358, allocations: 55.92 kB / 486.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.1359, allocations: 12 kB / 486.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.1362, allocations: 71.83 kB / 486.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.1362, allocations: 19.92 kB / 486.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.1366, allocations: 103.1 kB / 486.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.1367, allocations: 32 kB / 486.4 MB, free: 12.59 MB / 366.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.0002932/0.137, allocations: 261.5 kB / 486.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.1371, allocations: 51.28 kB / 486.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009076/0.138, allocations: 469.7 kB / 487.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.1381, allocations: 7.984 kB / 487.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1381, allocations: 0 / 487.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1381, allocations: 0 / 487.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005772/0.1387, allocations: 409.2 kB / 487.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.234e-05/0.1387, allocations: 39.98 kB / 487.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.1389, allocations: 27.97 kB / 487.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.1389, allocations: 7.938 kB / 487.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.1389, allocations: 15.98 kB / 487.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1389, allocations: 3.938 kB / 487.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.139, allocations: 0 / 487.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008917/0.1398, allocations: 0.6188 MB / 488.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.14, allocations: 136.3 kB / 488.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.125e-05/0.1401, allocations: 4 kB / 488.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.1404, allocations: 19.97 kB / 488.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.1404, allocations: 19.98 kB / 488.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.1405, allocations: 20 kB / 488.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004714/0.141, allocations: 446.7 kB / 488.9 MB, free: 9.965 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.141, allocations: 0 / 488.9 MB, free: 9.965 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007277/0.1417, allocations: 179.9 kB / 489.1 MB, free: 9.789 MB / 366.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.001471/0.1432, allocations: 1.295 MB / 490.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.1443, allocations: 0.7749 MB / 491.2 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1443, allocations: 0.5 kB / 491.2 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005077/0.1448, allocations: 493.1 kB / 491.7 MB, free: 7.066 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/0.1456, allocations: 114.2 kB / 491.8 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00756/0.1532, allocations: 6.1 MB / 497.9 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.1537, allocations: 0.8932 MB / 498.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003223/0.154, allocations: 124.5 kB / 498.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.1542, allocations: 147.4 kB / 499 MB, free: 15.32 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1542, allocations: 0 / 499 MB, free: 15.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2447/0.3989, allocations: 15.59 MB / 0.5026 GB, free: 51.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/8.352, allocations: 3.156 kB / 0.5026 GB, free: 51.83 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches