Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.001232/0.001232, allocations: 108.8 kB / 16.41 MB, free: 6.488 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.001268/0.001268, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.568/1.568, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2225/0.2225, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 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.001505/0.001505, allocations: 67.91 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1261, allocations: 57.78 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00334/0.1295, allocations: 2.119 MB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.1318, allocations: 1.414 MB / 0.4909 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.1319, allocations: 0 / 0.4909 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.1323, allocations: 95.25 kB / 0.491 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1326, allocations: 71.42 kB / 0.491 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006191/0.1332, allocations: 207.1 kB / 0.4912 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.1334, allocations: 154.9 kB / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.035e-05/0.1335, allocations: 16.3 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1336, allocations: 59.66 kB / 0.4915 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.1338, allocations: 63.53 kB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1338, allocations: 4 kB / 0.4915 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000653/0.1345, allocations: 427.4 kB / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.738e-05/0.1345, allocations: 31.8 kB / 0.492 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.687e-05/0.1346, allocations: 71.48 kB / 0.492 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005616/0.1352, allocations: 434.2 kB / 0.4924 GB, free: 7.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1352, allocations: 0 / 0.4924 GB, free: 7.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1352, allocations: 0 / 0.4924 GB, free: 7.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1352, allocations: 0 / 0.4924 GB, free: 7.121 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006422/0.1359, allocations: 0.4943 MB / 0.4929 GB, free: 6.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1359, allocations: 12.03 kB / 0.4929 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.136, allocations: 58.72 kB / 0.493 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.136, allocations: 24.8 kB / 0.493 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.1362, allocations: 207.9 kB / 0.4932 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1362, allocations: 12.38 kB / 0.4932 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.1363, allocations: 23.94 kB / 0.4932 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.1367, allocations: 206.6 kB / 0.4934 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1367, allocations: 0 / 0.4934 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.1367, allocations: 15.94 kB / 0.4935 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1367, allocations: 4 kB / 0.4935 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.137, allocations: 148.2 kB / 0.4936 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009204/0.1379, allocations: 0.5756 MB / 0.4942 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.1381, allocations: 62.55 kB / 0.4942 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1383, allocations: 28.95 kB / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.1383, allocations: 19.91 kB / 0.4943 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.1383, allocations: 30.56 kB / 0.4943 GB, free: 5.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.1383, allocations: 0 / 0.4943 GB, free: 5.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004305/0.1388, allocations: 121.5 kB / 0.4944 GB, free: 4.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.1388, allocations: 55.41 kB / 0.4945 GB, free: 4.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.1391, allocations: 266.7 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1391, allocations: 25.7 kB / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1392, allocations: 171.8 kB / 0.4949 GB, free: 4.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.1393, allocations: 19.88 kB / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.1393, allocations: 37.67 kB / 0.495 GB, free: 4.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1395, allocations: 338.8 kB / 0.4953 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.1396, allocations: 39.88 kB / 0.4953 GB, free: 3.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.1398, allocations: 143 kB / 0.4955 GB, free: 3.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.1401, allocations: 180.7 kB / 0.4956 GB, free: 3.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1401, allocations: 0 / 0.4956 GB, free: 3.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003788/0.1405, allocations: 201.2 kB / 0.4958 GB, free: 3.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1405, allocations: 4 kB / 0.4958 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.219e-05/0.1406, allocations: 19.98 kB / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.1406, allocations: 4.438 kB / 0.4959 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1407, allocations: 36.11 kB / 0.4959 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.1407, allocations: 4 kB / 0.4959 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.1409, allocations: 35.77 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.1409, allocations: 16 kB / 0.4959 GB, free: 3.207 MB / 382.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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001047/0.141, allocations: 129.7 kB / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.1411, allocations: 23.86 kB / 0.4961 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.1414, allocations: 138.8 kB / 0.4962 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1415, allocations: 0 / 0.4962 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1415, allocations: 7.984 kB / 0.4962 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1415, allocations: 0 / 0.4962 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.1417, allocations: 221.5 kB / 0.4964 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.1417, allocations: 8 kB / 0.4964 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.1418, allocations: 11.98 kB / 0.4965 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1418, allocations: 0 / 0.4965 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1418, allocations: 0 / 0.4965 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1418, allocations: 4 kB / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1418, allocations: 0 / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.1421, allocations: 211.3 kB / 0.4967 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.1422, allocations: 100.9 kB / 0.4968 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.1423, allocations: 3.938 kB / 0.4968 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.1424, allocations: 7.984 kB / 0.4968 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.1424, allocations: 4 kB / 0.4968 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.1424, allocations: 4 kB / 0.4968 GB, free: 2.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1426, allocations: 182 kB / 0.497 GB, free: 2.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1426, allocations: 3.938 kB / 0.497 GB, free: 2.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.143, allocations: 87.69 kB / 0.497 GB, free: 1.98 MB / 382.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008509/0.1438, allocations: 0.7941 MB / 0.4978 GB, free: 1.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004983/0.1443, allocations: 180 kB / 0.498 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1444, allocations: 0 / 0.498 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.1446, allocations: 95.38 kB / 0.4981 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.145, allocations: 28.86 kB / 0.4981 GB, free: 0.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.148, allocations: 2.373 MB / 0.5004 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.1484, allocations: 0.7363 MB / 0.5011 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.596e-05/0.1484, allocations: 17.55 kB / 0.5012 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.1485, allocations: 55.42 kB / 0.5012 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1485, allocations: 0 / 0.5012 GB, free: 13.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.1745, allocations: 6.768 MB / 0.5078 GB, free: 6.695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.38, allocations: 448 / 0.5078 GB, free: 6.695 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches