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_laminar.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_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",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.001228/0.001228, allocations: 104 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.00158/0.00158, allocations: 192.1 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.333/1.333, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2144/0.2144, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 65.09 kB / 408.6 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1146, 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_laminar): time 0.003603/0.1183, allocations: 2.208 MB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.12, allocations: 1.102 MB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.364e-05/0.1201, allocations: 0 / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.1204, allocations: 71.53 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.1207, allocations: 107.3 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.1211, allocations: 167.4 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004975/0.1216, allocations: 0.4937 MB / 473.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.1218, allocations: 61.03 kB / 473.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.122, allocations: 171.1 kB / 473.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.1222, allocations: 203 kB / 474 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/0.1223, allocations: 16 kB / 474 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005101/0.1228, allocations: 327.5 kB / 474.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.123, allocations: 99.52 kB / 474.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.1232, allocations: 182.8 kB / 474.6 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006893/0.1238, allocations: 0.5685 MB / 475.1 MB, free: 8.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1239, allocations: 7.938 kB / 475.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1239, allocations: 0 / 475.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1239, allocations: 0 / 475.1 MB, free: 8.434 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001408/0.1253, allocations: 0.7526 MB / 475.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.1254, allocations: 12.03 kB / 475.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.1255, allocations: 86.7 kB / 476 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.622e-05/0.1256, allocations: 48.38 kB / 476 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.126, allocations: 299.6 kB / 476.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.126, allocations: 33.38 kB / 476.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/0.1261, allocations: 47.94 kB / 476.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1272, allocations: 0.6558 MB / 477.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1272, allocations: 3.938 kB / 477.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.1272, allocations: 20 kB / 477.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/0.1273, allocations: 24.98 kB / 477.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008997/0.1282, allocations: 487.5 kB / 477.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.1303, allocations: 1.507 MB / 479.1 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.1309, allocations: 299.6 kB / 479.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.1312, allocations: 154.4 kB / 479.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.514e-05/0.1313, allocations: 11.98 kB / 479.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1313, allocations: 38.48 kB / 479.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.155e-06/0.1313, allocations: 0 / 479.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001254/0.1326, allocations: 0.4955 MB / 480.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.1326, allocations: 110.8 kB / 480.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005627/0.1332, allocations: 0.5407 MB / 480.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.1333, allocations: 33.95 kB / 480.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.1334, allocations: 224 kB / 481 MB, free: 2.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/0.1335, allocations: 75 kB / 481.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.1336, allocations: 73.97 kB / 481.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1338, allocations: 362.8 kB / 481.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.1342, allocations: 152.1 kB / 481.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.1346, allocations: 275.8 kB / 481.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007908/0.1354, allocations: 458.8 kB / 482.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1354, allocations: 4 kB / 482.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009606/0.1364, allocations: 0.4886 MB / 482.8 MB, free: 332 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1364, allocations: 10.41 kB / 482.9 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-05/0.1365, allocations: 43.98 kB / 482.9 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1365, allocations: 7.938 kB / 482.9 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.1367, allocations: 47.89 kB / 482.9 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.1368, allocations: 11.92 kB / 483 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.1371, allocations: 75.25 kB / 483 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.1371, allocations: 23.94 kB / 483.1 MB, free: 112 kB / 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: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (33): * Single equations (assignments): 21 * 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.0002476/0.1374, allocations: 217.6 kB / 483.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.1375, allocations: 35.53 kB / 483.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008306/0.1383, allocations: 445.1 kB / 483.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.1384, allocations: 4 kB / 483.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1384, allocations: 0 / 483.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1384, allocations: 0 / 483.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005652/0.1389, allocations: 393.2 kB / 484.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.073e-05/0.139, allocations: 39.98 kB / 484.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.1392, allocations: 31.91 kB / 484.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1392, allocations: 0 / 484.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.1392, allocations: 15.94 kB / 484.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1392, allocations: 7.938 kB / 484.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1392, allocations: 0 / 484.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008972/0.1401, allocations: 0.6033 MB / 484.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.1403, allocations: 124.5 kB / 484.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.394e-05/0.1404, allocations: 15.92 kB / 485 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.1406, allocations: 11.98 kB / 485 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/0.1408, allocations: 27.92 kB / 485 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.1408, allocations: 19.98 kB / 485 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004205/0.1412, allocations: 391 kB / 485.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1412, allocations: 0 / 485.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005662/0.1418, allocations: 127.9 kB / 485.5 MB, free: 13.54 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.00137/0.1432, allocations: 1.209 MB / 486.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.1442, allocations: 0.6842 MB / 487.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1442, allocations: 0 / 487.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005003/0.1447, allocations: 480.2 kB / 487.9 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007333/0.1454, allocations: 118.3 kB / 488 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006629/0.1521, allocations: 5.282 MB / 493.3 MB, free: 5.402 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.1525, allocations: 0.866 MB / 494.2 MB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002163/0.1527, allocations: 91.27 kB / 494.2 MB, free: 4.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.1529, allocations: 119.4 kB / 494.4 MB, free: 4.305 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1529, allocations: 0 / 494.4 MB, free: 4.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03326/0.1862, allocations: 12.91 MB / 0.4954 GB, free: 7.637 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/7.96, allocations: 7.875 kB / 0.4954 GB, free: 7.633 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches