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.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,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.001502/0.001502, allocations: 105.5 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.00156/0.00156, 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.468/1.468, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.203/0.203, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001228, allocations: 68.98 kB / 408.6 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.12, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003643/0.1237, allocations: 2.067 MB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.126, allocations: 1.25 MB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.1262, allocations: 4 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.1266, allocations: 67.59 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.1269, allocations: 91.38 kB / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007067/0.1276, allocations: 187.3 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004651/0.1281, allocations: 434 kB / 473.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.1282, allocations: 44.72 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.1285, allocations: 151.2 kB / 473.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.1287, allocations: 171.1 kB / 473.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.1287, allocations: 15.94 kB / 473.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.1292, allocations: 255.7 kB / 474.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1293, allocations: 87.53 kB / 474.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.1295, allocations: 162.9 kB / 474.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006641/0.1302, allocations: 0.514 MB / 474.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1302, allocations: 0 / 474.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1302, allocations: 4 kB / 474.8 MB, free: 8.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.1302, allocations: 0 / 474.8 MB, free: 8.766 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001283/0.1315, allocations: 0.7097 MB / 475.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1316, allocations: 8.031 kB / 475.6 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.503e-05/0.1317, allocations: 82.7 kB / 475.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.455e-05/0.1318, allocations: 44.38 kB / 475.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.1321, allocations: 288.4 kB / 476 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.1321, allocations: 29 kB / 476 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.1322, allocations: 36 kB / 476 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.133, allocations: 0.5535 MB / 476.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.133, allocations: 0 / 476.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.1331, allocations: 16 kB / 476.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.442e-05/0.1331, allocations: 28.98 kB / 476.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007616/0.1339, allocations: 415.5 kB / 477 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.1356, allocations: 1.277 MB / 478.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005156/0.1362, allocations: 279.6 kB / 478.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.1365, allocations: 138.5 kB / 478.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.206e-05/0.1366, allocations: 11.92 kB / 478.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1366, allocations: 38.56 kB / 478.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.634e-06/0.1366, allocations: 0 / 478.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001139/0.1377, allocations: 460.7 kB / 479.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.1378, allocations: 102.8 kB / 479.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005297/0.1383, allocations: 0.5057 MB / 479.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.1384, allocations: 33.7 kB / 479.9 MB, free: 3.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.1385, allocations: 204.2 kB / 480.1 MB, free: 3.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.1386, allocations: 59.19 kB / 480.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.1387, allocations: 69.59 kB / 480.2 MB, free: 3.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1388, allocations: 354.8 kB / 480.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.1391, allocations: 128.1 kB / 480.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.1395, allocations: 216.5 kB / 480.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/0.1402, allocations: 363.8 kB / 481.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1402, allocations: 4 kB / 481.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008182/0.141, allocations: 423.4 kB / 481.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.141, allocations: 15.92 kB / 481.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.874e-05/0.1411, allocations: 28.34 kB / 481.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1411, allocations: 8 kB / 481.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.1413, allocations: 39.89 kB / 481.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1414, allocations: 4 kB / 481.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.1416, allocations: 47.52 kB / 481.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.1416, allocations: 19.98 kB / 481.8 MB, free: 1.453 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001924/0.1418, allocations: 193.7 kB / 482 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.859e-05/0.1419, allocations: 39.47 kB / 482 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007652/0.1427, allocations: 408.7 kB / 482.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1427, allocations: 4 kB / 482.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1428, allocations: 0 / 482.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1428, allocations: 7.984 kB / 482.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.1433, allocations: 365.3 kB / 482.8 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.771e-05/0.1433, allocations: 28 kB / 482.8 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1435, allocations: 23.97 kB / 482.8 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1435, allocations: 11.88 kB / 482.9 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.1435, allocations: 11.98 kB / 482.9 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1435, allocations: 4 kB / 482.9 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1435, allocations: 0 / 482.9 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007905/0.1443, allocations: 0.5755 MB / 483.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.161e-05/0.1444, allocations: 120.6 kB / 483.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.1445, allocations: 0 / 483.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.1448, allocations: 27.97 kB / 483.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.1448, allocations: 19.98 kB / 483.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.1449, allocations: 12 kB / 483.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003464/0.1452, allocations: 363 kB / 484 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1452, allocations: 0 / 484 MB, free: 15.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005378/0.1458, allocations: 127.8 kB / 484.1 MB, free: 15.05 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001373/0.1472, allocations: 1.201 MB / 485.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009426/0.1481, allocations: 0.5535 MB / 485.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1481, allocations: 0 / 485.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.1486, allocations: 387.9 kB / 486.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006718/0.1493, allocations: 93.5 kB / 486.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006491/0.1558, allocations: 4.735 MB / 491.1 MB, free: 7.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.1563, allocations: 0.8535 MB / 491.9 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000226/0.1566, allocations: 63.22 kB / 492 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.1567, allocations: 115.4 kB / 492.1 MB, free: 6.734 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1567, allocations: 0 / 492.1 MB, free: 6.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.1894, allocations: 11.74 MB / 0.492 GB, free: 11.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/7.904, allocations: 15.12 kB / 0.492 GB, free: 11.22 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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_approxForcedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches