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_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 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_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.001773/0.001773, allocations: 102.4 kB / 16.4 MB, free: 6.465 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.001958/0.001958, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.41/1.41, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.22/0.22, allocations: 43.52 MB / 314.1 MB, free: 452 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.002045/0.002045, allocations: 73.47 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1163, 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_KC): time 0.003915/0.1203, allocations: 2.188 MB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1222, allocations: 1.095 MB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1223, allocations: 8 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.1227, allocations: 83.39 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.123, allocations: 87.27 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1233, allocations: 123.5 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.1236, allocations: 186.8 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.743e-05/0.1236, allocations: 16.39 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.1238, allocations: 75.58 kB / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.1239, allocations: 79.5 kB / 0.4913 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.1239, allocations: 4 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/0.1244, allocations: 263.6 kB / 0.4915 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.1245, allocations: 31.78 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.738e-05/0.1246, allocations: 83.34 kB / 0.4916 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.125, allocations: 338.5 kB / 0.492 GB, free: 7.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1251, allocations: 0 / 0.492 GB, free: 7.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1251, allocations: 4 kB / 0.492 GB, free: 7.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1251, allocations: 0 / 0.492 GB, free: 7.578 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007032/0.1258, allocations: 0.4909 MB / 0.4924 GB, free: 7.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1258, allocations: 8.031 kB / 0.4925 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.276e-05/0.1259, allocations: 58.73 kB / 0.4925 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.126, allocations: 24.8 kB / 0.4925 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1262, allocations: 215.9 kB / 0.4927 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.1263, allocations: 20.75 kB / 0.4928 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.1263, allocations: 27.94 kB / 0.4928 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.1268, allocations: 227.2 kB / 0.493 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1268, allocations: 0 / 0.493 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.1268, allocations: 15.98 kB / 0.493 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.1268, allocations: 8 kB / 0.493 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.1273, allocations: 245.6 kB / 0.4933 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.1283, allocations: 0.6315 MB / 0.4939 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.1286, allocations: 98.61 kB / 0.494 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.1288, allocations: 44.88 kB / 0.494 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.1288, allocations: 3.938 kB / 0.494 GB, free: 5.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1289, allocations: 34.56 kB / 0.494 GB, free: 5.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1289, allocations: 4 kB / 0.4941 GB, free: 5.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000577/0.1294, allocations: 161.4 kB / 0.4942 GB, free: 5.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.1295, allocations: 59.39 kB / 0.4943 GB, free: 5.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.1298, allocations: 263 kB / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.1298, allocations: 25.7 kB / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.13, allocations: 175.4 kB / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.13, allocations: 31.75 kB / 0.4947 GB, free: 4.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.793e-05/0.1301, allocations: 53.66 kB / 0.4948 GB, free: 4.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1303, allocations: 334.8 kB / 0.4951 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.1305, allocations: 51.95 kB / 0.4952 GB, free: 4.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.1308, allocations: 148.7 kB / 0.4953 GB, free: 3.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.1312, allocations: 208.6 kB / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1312, allocations: 4 kB / 0.4955 GB, free: 3.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005027/0.1317, allocations: 245 kB / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1317, allocations: 4 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1318, allocations: 4 kB / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.1318, allocations: 4 kB / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.1322, allocations: 79.91 kB / 0.4958 GB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009072/0.1331, allocations: 1.223 MB / 0.497 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.1334, allocations: 39.67 kB / 0.4971 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.1334, allocations: 16 kB / 0.4971 GB, free: 1.98 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 (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.0001707/0.1336, allocations: 141.8 kB / 0.4972 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.1336, allocations: 23.86 kB / 0.4972 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004883/0.1341, allocations: 167.6 kB / 0.4974 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1341, allocations: 0 / 0.4974 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1342, allocations: 7.984 kB / 0.4974 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1342, allocations: 0 / 0.4974 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007373/0.1349, allocations: 452 kB / 0.4978 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.1349, allocations: 7.922 kB / 0.4978 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.1352, allocations: 51.98 kB / 0.4979 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1352, allocations: 0 / 0.4979 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.1352, allocations: 8.156 kB / 0.4979 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008996/0.1361, allocations: 1.223 MB / 0.4991 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1362, allocations: 3.984 kB / 0.4991 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.1366, allocations: 245.2 kB / 0.4993 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.745e-05/0.1367, allocations: 101 kB / 0.4994 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.1367, allocations: 8 kB / 0.4994 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.1369, allocations: 4 kB / 0.4994 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.137, allocations: 15.98 kB / 0.4994 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.137, allocations: 8 kB / 0.4995 GB, free: 15.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.1372, allocations: 186 kB / 0.4996 GB, free: 15.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1372, allocations: 0 / 0.4996 GB, free: 15.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003911/0.1376, allocations: 63.88 kB / 0.4997 GB, free: 15.13 MB / 398.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.0009208/0.1385, allocations: 0.827 MB / 0.5005 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006186/0.1392, allocations: 167.7 kB / 0.5007 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.1392, allocations: 0.875 kB / 0.5007 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.1395, allocations: 92.02 kB / 0.5007 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.1399, allocations: 24.86 kB / 0.5008 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003555/0.1435, allocations: 2.558 MB / 0.5033 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1439, allocations: 0.7285 MB / 0.504 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.866e-05/0.144, allocations: 21.94 kB / 0.504 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.1441, allocations: 59.42 kB / 0.5041 GB, free: 10.42 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1441, allocations: 3.938 kB / 0.5041 GB, free: 10.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/0.1767, allocations: 6.131 MB / 0.51 GB, free: 4.301 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/11.99, allocations: 8.344 kB / 0.5101 GB, free: 4.293 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches