Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",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.001084/0.001084, allocations: 104.1 kB / 17.63 MB, free: 5.48 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.0011/0.0011, allocations: 192 kB / 18.56 MB, free: 4.562 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.363/1.363, 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.2116/0.2116, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 56.31 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1248, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.00318/0.1281, allocations: 1.989 MB / 471.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1293, allocations: 0.81 MB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.796e-05/0.1294, allocations: 0 / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.1297, allocations: 71.58 kB / 472.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.13, allocations: 111.5 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1303, allocations: 71.73 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.1306, allocations: 314.6 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.682e-05/0.1306, allocations: 28.39 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.1308, allocations: 127.4 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.131, allocations: 143.3 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.131, allocations: 12 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.1313, allocations: 127.8 kB / 473.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.957e-05/0.1314, allocations: 63.69 kB / 473.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.1315, allocations: 119.2 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.1319, allocations: 335 kB / 473.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1319, allocations: 0 / 473.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1319, allocations: 4 kB / 473.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.132, allocations: 4 kB / 473.7 MB, free: 9.938 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008271/0.1328, allocations: 0.5614 MB / 474.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1328, allocations: 8.031 kB / 474.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.535e-05/0.1329, allocations: 70.7 kB / 474.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.133, allocations: 32.56 kB / 474.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.1332, allocations: 244.2 kB / 474.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.1333, allocations: 20.55 kB / 474.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.1333, allocations: 24 kB / 474.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.1339, allocations: 401.2 kB / 475 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.134, allocations: 0 / 475 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.134, allocations: 11.98 kB / 475 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.213e-05/0.1341, allocations: 32.62 kB / 475.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006916/0.1347, allocations: 406.3 kB / 475.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.136, allocations: 0.8734 MB / 476.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005615/0.1366, allocations: 270.3 kB / 476.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.1368, allocations: 96.77 kB / 476.7 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.1368, allocations: 15.92 kB / 476.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1368, allocations: 34.56 kB / 476.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.1368, allocations: 0 / 476.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007354/0.1376, allocations: 325.1 kB / 477.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.1376, allocations: 51.41 kB / 477.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.138, allocations: 355.1 kB / 477.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.138, allocations: 29.7 kB / 477.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1381, allocations: 168.2 kB / 477.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.1382, allocations: 51.36 kB / 477.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/0.1383, allocations: 53.61 kB / 477.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1384, allocations: 346.7 kB / 478.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.1386, allocations: 87.91 kB / 478.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.1388, allocations: 141.9 kB / 478.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004283/0.1392, allocations: 252.5 kB / 478.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1393, allocations: 0 / 478.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000523/0.1398, allocations: 293 kB / 478.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.1398, allocations: 12.19 kB / 478.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1398, allocations: 0 / 478.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1398, allocations: 4 kB / 478.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/0.1404, allocations: 119.8 kB / 479 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.1422, allocations: 3.672 MB / 482.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.1424, allocations: 27.69 kB / 482.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.1425, allocations: 19.98 kB / 482.7 MB, free: 0.4961 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001826/0.1427, allocations: 165.8 kB / 482.9 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.1427, allocations: 27.66 kB / 482.9 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006608/0.1434, allocations: 334.1 kB / 483.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1434, allocations: 0 / 483.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.1434, allocations: 8 kB / 483.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1434, allocations: 3.938 kB / 483.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.1438, allocations: 301.3 kB / 483.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1438, allocations: 7.938 kB / 483.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004604/0.1443, allocations: 111.9 kB / 483.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.1443, allocations: 4 kB / 483.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1443, allocations: 0 / 483.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.1462, allocations: 3.672 MB / 487.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1462, allocations: 0 / 487.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/0.1468, allocations: 351 kB / 487.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/0.1469, allocations: 104.8 kB / 487.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.1469, allocations: 7.984 kB / 487.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.1471, allocations: 12.09 kB / 487.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.1471, allocations: 7.984 kB / 487.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.1472, allocations: 15.98 kB / 487.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002482/0.1474, allocations: 249.9 kB / 488.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1474, allocations: 0 / 488.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003566/0.1478, allocations: 79.91 kB / 488.1 MB, free: 10.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008699/0.1487, allocations: 0.9033 MB / 489 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008631/0.1495, allocations: 326.6 kB / 489.4 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1495, allocations: 0 / 489.4 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005812/0.1501, allocations: 183.8 kB / 489.5 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.1505, allocations: 72.86 kB / 489.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.1545, allocations: 3.405 MB / 493 MB, free: 5.809 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.1548, allocations: 0.7948 MB / 493.8 MB, free: 4.988 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001599/0.155, allocations: 70.22 kB / 493.9 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.1551, allocations: 81.75 kB / 493.9 MB, free: 4.84 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1551, allocations: 3.938 kB / 494 MB, free: 4.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.182, allocations: 8.398 MB / 0.4906 GB, free: 12.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.57, allocations: 25.38 kB / 0.4906 GB, free: 12.68 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches