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_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 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_laminar,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.001282/0.001282, allocations: 100.6 kB / 16.27 MB, free: 5.965 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.001206/0.001206, allocations: 191.8 kB / 17.2 MB, free: 5.598 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.446/1.446, 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.207/0.207, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001498/0.001499, allocations: 72.83 kB / 382.9 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1237, allocations: 57.8 MB / 440.7 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003412/0.1272, allocations: 2.182 MB / 442.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1289, allocations: 1.158 MB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1291, allocations: 4 kB / 444 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.1294, allocations: 75.58 kB / 444.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002343/0.1297, allocations: 87.38 kB / 444.2 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.1302, allocations: 183.3 kB / 444.3 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004349/0.1307, allocations: 493.8 kB / 444.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1308, allocations: 64.98 kB / 444.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.131, allocations: 167.1 kB / 445 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.1312, allocations: 203 kB / 445.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.1312, allocations: 16 kB / 445.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.1317, allocations: 331.4 kB / 445.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1318, allocations: 99.45 kB / 445.7 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.132, allocations: 186.8 kB / 445.9 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005935/0.1326, allocations: 0.5722 MB / 446.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1326, allocations: 0 / 446.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1326, allocations: 0 / 446.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.1326, allocations: 0 / 446.4 MB, free: 0.9492 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001225/0.1339, allocations: 0.7576 MB / 447.2 MB, free: 148 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.1339, allocations: 15.89 kB / 447.2 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.03e-05/0.134, allocations: 90.7 kB / 447.3 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.1341, allocations: 48.42 kB / 447.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.1346, allocations: 303.5 kB / 447.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.1347, allocations: 29.38 kB / 447.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.793e-05/0.1347, allocations: 47.94 kB / 447.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.1359, allocations: 0.6558 MB / 448.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.136, allocations: 0 / 448.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.136, allocations: 20 kB / 448.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/0.1361, allocations: 32.97 kB / 448.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009379/0.137, allocations: 479.5 kB / 448.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.1392, allocations: 1.515 MB / 450.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/0.1398, allocations: 303.1 kB / 450.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.1401, allocations: 150.5 kB / 450.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.685e-05/0.1402, allocations: 11.98 kB / 450.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.1402, allocations: 34.56 kB / 450.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 3.016e-06/0.1402, allocations: 3.938 kB / 450.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001331/0.1416, allocations: 0.5017 MB / 451.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.1416, allocations: 102.8 kB / 451.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005636/0.1422, allocations: 0.5407 MB / 452 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.1422, allocations: 29.7 kB / 452.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1424, allocations: 224 kB / 452.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.757e-05/0.1425, allocations: 74.94 kB / 452.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.1426, allocations: 85.94 kB / 452.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1428, allocations: 354.8 kB / 452.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.1431, allocations: 156.1 kB / 452.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.1436, allocations: 271.8 kB / 453.2 MB, free: 9.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008038/0.1444, allocations: 453.8 kB / 453.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1444, allocations: 0 / 453.7 MB, free: 9.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009874/0.1454, allocations: 0.4926 MB / 454.1 MB, free: 8.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1454, allocations: 7.938 kB / 454.2 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.801e-05/0.1455, allocations: 47.92 kB / 454.2 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1455, allocations: 7.938 kB / 454.2 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.1458, allocations: 48.41 kB / 454.3 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.1458, allocations: 7.984 kB / 454.3 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.1461, allocations: 67.27 kB / 454.3 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.1462, allocations: 27.98 kB / 454.4 MB, free: 8.629 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: 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.0002285/0.1464, allocations: 209.6 kB / 454.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.1465, allocations: 43.44 kB / 454.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008623/0.1474, allocations: 452 kB / 455 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.1474, allocations: 15.97 kB / 455.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1474, allocations: 0 / 455.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1474, allocations: 0 / 455.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.148, allocations: 381.3 kB / 455.4 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.888e-05/0.1481, allocations: 35.98 kB / 455.5 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.1482, allocations: 23.97 kB / 455.5 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1483, allocations: 8 kB / 455.5 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.1483, allocations: 19.92 kB / 455.5 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1483, allocations: 0 / 455.5 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1483, allocations: 0 / 455.5 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008877/0.1492, allocations: 0.611 MB / 456.1 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.1493, allocations: 124.6 kB / 456.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.728e-05/0.1494, allocations: 11.88 kB / 456.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.1497, allocations: 19.97 kB / 456.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/0.1498, allocations: 19.98 kB / 456.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.1498, allocations: 16 kB / 456.3 MB, free: 6.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004135/0.1503, allocations: 399 kB / 456.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1503, allocations: 0 / 456.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006035/0.1509, allocations: 139.8 kB / 456.8 MB, free: 6.039 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.001458/0.1523, allocations: 1.201 MB / 458 MB, free: 4.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.1534, allocations: 0.6882 MB / 458.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1535, allocations: 0 / 458.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.154, allocations: 480.3 kB / 459.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007521/0.1548, allocations: 117.9 kB / 459.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007844/0.1626, allocations: 5.285 MB / 464.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.1632, allocations: 0.8621 MB / 465.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002746/0.1635, allocations: 87.34 kB / 465.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.1636, allocations: 119.4 kB / 465.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1636, allocations: 0 / 465.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/0.1981, allocations: 12.92 MB / 478.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.119, allocations: 12.25 kB / 478.6 MB, free: 15.92 MB / 366.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches