Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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.001372/0.001372, allocations: 104.2 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.001525/0.001525, allocations: 191.9 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.312/1.312, 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.2001/0.2001, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 63.03 kB / 408.6 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1284, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003742/0.1322, allocations: 2.172 MB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.1337, allocations: 1.075 MB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-05/0.1338, allocations: 0 / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.1341, allocations: 83.44 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.1344, allocations: 83.33 kB / 472.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1347, allocations: 119.5 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.135, allocations: 178.9 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.159e-05/0.1351, allocations: 16.39 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.1352, allocations: 71.59 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.1354, allocations: 87.48 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1354, allocations: 8 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004292/0.1358, allocations: 259.6 kB / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.1359, allocations: 35.72 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.725e-05/0.136, allocations: 75.47 kB / 473.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.1364, allocations: 326.7 kB / 473.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1364, allocations: 0 / 473.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.1364, allocations: 0 / 473.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1364, allocations: 3.938 kB / 473.9 MB, free: 9.648 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006556/0.1371, allocations: 0.499 MB / 474.4 MB, free: 9.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1372, allocations: 12.03 kB / 474.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.73e-05/0.1372, allocations: 54.73 kB / 474.5 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.1373, allocations: 24.66 kB / 474.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.1375, allocations: 219.6 kB / 474.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.1375, allocations: 16.81 kB / 474.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.1376, allocations: 23.94 kB / 474.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.138, allocations: 227.2 kB / 475 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.138, allocations: 0 / 475 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.138, allocations: 8 kB / 475 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.138, allocations: 8 kB / 475 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.1385, allocations: 245.6 kB / 475.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009098/0.1394, allocations: 0.6157 MB / 475.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.1397, allocations: 106.5 kB / 476 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.1398, allocations: 40.94 kB / 476 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.1399, allocations: 7.938 kB / 476 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.1399, allocations: 30.56 kB / 476.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1399, allocations: 0 / 476.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000511/0.1404, allocations: 173.3 kB / 476.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.1405, allocations: 51.41 kB / 476.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.1407, allocations: 266.9 kB / 476.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/0.1408, allocations: 29.7 kB / 476.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1409, allocations: 175.3 kB / 476.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.1409, allocations: 31.56 kB / 476.8 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-05/0.141, allocations: 49.59 kB / 476.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1411, allocations: 342.8 kB / 477.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.1413, allocations: 47.95 kB / 477.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.1415, allocations: 148.8 kB / 477.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.1419, allocations: 212.5 kB / 477.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1419, allocations: 0 / 477.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004493/0.1423, allocations: 237.5 kB / 477.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1423, allocations: 8 kB / 477.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1424, allocations: 4 kB / 477.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1424, allocations: 4 kB / 477.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/0.1428, allocations: 83.91 kB / 477.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007502/0.1435, allocations: 1.223 MB / 479.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.1437, allocations: 31.69 kB / 479.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.1437, allocations: 11.98 kB / 479.2 MB, free: 4.078 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.1439, allocations: 141.7 kB / 479.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.1439, allocations: 19.72 kB / 479.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004316/0.1444, allocations: 175.6 kB / 479.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1444, allocations: 0 / 479.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1444, allocations: 0 / 479.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1444, allocations: 3.984 kB / 479.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.145, allocations: 456.1 kB / 479.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.145, allocations: 3.938 kB / 479.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.1452, allocations: 55.92 kB / 480 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1453, allocations: 4 kB / 480 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1453, allocations: 7.984 kB / 480 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006866/0.146, allocations: 1.211 MB / 481.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.146, allocations: 0 / 481.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.1464, allocations: 253 kB / 481.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.1465, allocations: 96.81 kB / 481.6 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.1465, allocations: 4 kB / 481.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1467, allocations: 8 kB / 481.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.1467, allocations: 7.984 kB / 481.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1468, allocations: 4 kB / 481.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.1469, allocations: 186 kB / 481.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1469, allocations: 4 kB / 481.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.1473, allocations: 67.94 kB / 481.8 MB, free: 1.23 MB / 350.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000755/0.148, allocations: 0.8192 MB / 482.6 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005367/0.1486, allocations: 179.7 kB / 482.8 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1486, allocations: 0 / 482.8 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.1489, allocations: 79.89 kB / 482.9 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.1493, allocations: 34 kB / 482.9 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.1524, allocations: 2.575 MB / 485.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.1528, allocations: 0.7285 MB / 486.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.946e-05/0.1529, allocations: 21.94 kB / 486.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.919e-05/0.153, allocations: 63.42 kB / 486.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.153, allocations: 3.938 kB / 486.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.1785, allocations: 6.001 MB / 492.3 MB, free: 6.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.37, allocations: 20.95 kB / 492.3 MB, free: 6.688 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches