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.001254/0.001255, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.001449/0.001449, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.37/1.37, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2022/0.2022, allocations: 43.52 MB / 314.1 MB, free: 444 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.001916/0.001916, allocations: 63.91 kB / 441.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1208, allocations: 57.78 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.0042/0.1251, allocations: 2.123 MB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.1276, allocations: 1.41 MB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.1278, allocations: 7.938 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.1283, allocations: 91.42 kB / 0.491 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.1286, allocations: 63.38 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009357/0.1296, allocations: 211.1 kB / 0.4912 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.1299, allocations: 150.9 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.075e-05/0.13, allocations: 20.3 kB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.1301, allocations: 59.64 kB / 0.4914 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.1303, allocations: 63.55 kB / 0.4915 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.1303, allocations: 4 kB / 0.4915 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007782/0.1311, allocations: 427.4 kB / 0.4919 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.1312, allocations: 23.8 kB / 0.4919 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.063e-05/0.1313, allocations: 71.48 kB / 0.492 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008209/0.1321, allocations: 434.5 kB / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1321, allocations: 0 / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1322, allocations: 0 / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.1322, allocations: 4 kB / 0.4924 GB, free: 7.09 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.0008324/0.133, allocations: 498.6 kB / 0.4929 GB, free: 6.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1331, allocations: 12.03 kB / 0.4929 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.727e-05/0.1331, allocations: 58.72 kB / 0.493 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.1332, allocations: 24.66 kB / 0.493 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.1335, allocations: 207.8 kB / 0.4932 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1335, allocations: 16.38 kB / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.1335, allocations: 23.92 kB / 0.4932 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.1339, allocations: 206.7 kB / 0.4934 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1339, allocations: 3.938 kB / 0.4934 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.134, allocations: 8 kB / 0.4934 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.134, allocations: 8 kB / 0.4934 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.1343, allocations: 144.2 kB / 0.4936 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000911/0.1352, allocations: 0.5675 MB / 0.4941 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.1354, allocations: 62.55 kB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.1355, allocations: 36.94 kB / 0.4942 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.1356, allocations: 0 / 0.4942 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1356, allocations: 38.5 kB / 0.4943 GB, free: 5.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1356, allocations: 3.938 kB / 0.4943 GB, free: 5.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004699/0.1361, allocations: 129.4 kB / 0.4944 GB, free: 4.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.1362, allocations: 55.39 kB / 0.4944 GB, free: 4.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.1364, allocations: 258.7 kB / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1365, allocations: 33.64 kB / 0.4947 GB, free: 4.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.1366, allocations: 167.6 kB / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.1367, allocations: 19.7 kB / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/0.1367, allocations: 33.72 kB / 0.4949 GB, free: 4.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1369, allocations: 334.8 kB / 0.4953 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.1371, allocations: 39.97 kB / 0.4953 GB, free: 3.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.1373, allocations: 136.4 kB / 0.4954 GB, free: 3.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.1377, allocations: 180.7 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.1377, allocations: 0 / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004891/0.1382, allocations: 209.2 kB / 0.4958 GB, free: 3.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1383, allocations: 4 kB / 0.4958 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/0.1383, allocations: 16.42 kB / 0.4958 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.1383, allocations: 8 kB / 0.4958 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.1385, allocations: 31.92 kB / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.066e-05/0.1385, allocations: 4 kB / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.1387, allocations: 35.67 kB / 0.4959 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.1387, allocations: 11.98 kB / 0.4959 GB, free: 3.199 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.0001238/0.1388, allocations: 137.6 kB / 0.496 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.1389, allocations: 23.72 kB / 0.4961 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/0.1393, allocations: 138.8 kB / 0.4962 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1393, allocations: 3.984 kB / 0.4962 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1393, allocations: 0 / 0.4962 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1393, allocations: 0 / 0.4962 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.1396, allocations: 217.5 kB / 0.4964 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/0.1397, allocations: 15.98 kB / 0.4964 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.552e-05/0.1397, allocations: 12 kB / 0.4964 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1397, allocations: 0 / 0.4964 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1397, allocations: 0 / 0.4964 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1397, allocations: 0 / 0.4964 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.1398, allocations: 4 kB / 0.4964 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.1401, allocations: 211.2 kB / 0.4966 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.672e-05/0.1402, allocations: 92.83 kB / 0.4967 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.1403, allocations: 0 / 0.4967 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1404, allocations: 7.984 kB / 0.4967 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.1404, allocations: 4 kB / 0.4967 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1405, allocations: 4 kB / 0.4967 GB, free: 2.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.1407, allocations: 193.8 kB / 0.4969 GB, free: 2.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1407, allocations: 0 / 0.4969 GB, free: 2.055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004364/0.1411, allocations: 79.86 kB / 0.497 GB, free: 1.977 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.0009876/0.1421, allocations: 0.8061 MB / 0.4978 GB, free: 1.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005505/0.1427, allocations: 172.1 kB / 0.4979 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1427, allocations: 3.938 kB / 0.498 GB, free: 0.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.1429, allocations: 95.38 kB / 0.498 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.1433, allocations: 27.53 kB / 0.4981 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.1465, 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.0004006/0.1469, allocations: 0.7281 MB / 0.5011 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.729e-05/0.147, allocations: 21.48 kB / 0.5011 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.563e-05/0.1471, allocations: 59.41 kB / 0.5012 GB, free: 13.45 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1471, allocations: 0 / 0.5012 GB, free: 13.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.1752, allocations: 6.878 MB / 0.5079 GB, free: 6.582 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.62, allocations: 8.359 kB / 0.5079 GB, free: 6.574 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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