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.001204/0.001204, allocations: 105.4 kB / 16.41 MB, free: 6.461 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.001171/0.001171, allocations: 189.5 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.338/1.338, 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.2002/0.2002, allocations: 43.52 MB / 314.1 MB, free: 448 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.001392/0.001392, allocations: 63.91 kB / 441.3 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1108, allocations: 57.79 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.003781/0.1146, allocations: 2.204 MB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.1168, allocations: 1.087 MB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.1171, allocations: 4 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003769/0.1175, allocations: 87.36 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004703/0.118, allocations: 99.27 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.1184, allocations: 111.6 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.1187, allocations: 182.8 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.627e-05/0.1187, allocations: 24.33 kB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.1189, allocations: 67.59 kB / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.1191, allocations: 87.48 kB / 0.4913 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.1191, allocations: 4 kB / 0.4913 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004647/0.1196, allocations: 263.6 kB / 0.4915 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.403e-05/0.1197, allocations: 27.78 kB / 0.4916 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1198, allocations: 87.36 kB / 0.4916 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006131/0.1204, allocations: 330.5 kB / 0.492 GB, free: 7.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.1205, allocations: 4 kB / 0.492 GB, free: 7.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1205, allocations: 0 / 0.492 GB, free: 7.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.1205, 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.0007909/0.1213, allocations: 0.4948 MB / 0.4925 GB, free: 7.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1213, allocations: 8.031 kB / 0.4925 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.796e-05/0.1214, allocations: 58.73 kB / 0.4925 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.1215, allocations: 24.8 kB / 0.4925 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.1217, allocations: 219.9 kB / 0.4927 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.1217, allocations: 12.81 kB / 0.4928 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.1218, allocations: 35.86 kB / 0.4928 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004349/0.1222, allocations: 231.2 kB / 0.493 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1222, allocations: 0 / 0.493 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.1223, allocations: 12 kB / 0.493 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1223, allocations: 4 kB / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004508/0.1227, allocations: 245.6 kB / 0.4933 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00093/0.1237, allocations: 0.6276 MB / 0.4939 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.124, allocations: 98.66 kB / 0.494 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.1241, allocations: 40.83 kB / 0.494 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.1241, allocations: 3.984 kB / 0.494 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1242, allocations: 46.5 kB / 0.4941 GB, free: 5.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1242, allocations: 0 / 0.4941 GB, free: 5.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.00052/0.1247, allocations: 165.4 kB / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.1248, allocations: 51.41 kB / 0.4943 GB, free: 5.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.1251, allocations: 267 kB / 0.4945 GB, free: 4.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1251, allocations: 25.7 kB / 0.4945 GB, free: 4.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1252, allocations: 175.4 kB / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.1252, allocations: 35.73 kB / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.1253, allocations: 49.66 kB / 0.4948 GB, free: 4.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1255, allocations: 334.8 kB / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.1256, allocations: 51.95 kB / 0.4952 GB, free: 4.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.1259, allocations: 148.7 kB / 0.4953 GB, free: 3.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.1262, allocations: 208.7 kB / 0.4955 GB, free: 3.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1262, allocations: 0 / 0.4955 GB, free: 3.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004475/0.1267, allocations: 241.1 kB / 0.4957 GB, free: 3.398 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1267, allocations: 8 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1267, allocations: 0 / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1267, allocations: 8 kB / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.1271, allocations: 83.91 kB / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007555/0.1279, allocations: 1.219 MB / 0.497 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1281, allocations: 43.67 kB / 0.4971 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.1281, allocations: 12 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.0001253/0.1283, allocations: 145.8 kB / 0.4972 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.1283, allocations: 19.86 kB / 0.4972 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.1287, allocations: 163.6 kB / 0.4974 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1287, allocations: 4 kB / 0.4974 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1288, allocations: 4 kB / 0.4974 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1288, allocations: 3.984 kB / 0.4974 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.1294, allocations: 455.9 kB / 0.4978 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1294, allocations: 0 / 0.4978 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.1297, allocations: 59.97 kB / 0.4979 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1297, allocations: 8.062 kB / 0.4979 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.1297, allocations: 0 / 0.4979 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006745/0.1304, allocations: 1.211 MB / 0.4991 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1304, allocations: 7.875 kB / 0.4991 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.1308, allocations: 253.2 kB / 0.4993 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.1309, allocations: 92.97 kB / 0.4994 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.1309, allocations: 4 kB / 0.4994 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.1311, allocations: 11.98 kB / 0.4994 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.1311, allocations: 11.98 kB / 0.4994 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.1311, allocations: 4 kB / 0.4994 GB, free: 15.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.1313, allocations: 190 kB / 0.4996 GB, free: 15.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1313, allocations: 0 / 0.4996 GB, free: 15.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003704/0.1317, allocations: 67.88 kB / 0.4997 GB, free: 15.12 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.0008544/0.1325, allocations: 0.8308 MB / 0.5005 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005318/0.1331, allocations: 163.9 kB / 0.5007 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.1331, allocations: 0.875 kB / 0.5007 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.1334, allocations: 87.89 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.0003851/0.1338, allocations: 21.11 kB / 0.5008 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.1369, allocations: 2.566 MB / 0.5033 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.1372, allocations: 0.7284 MB / 0.504 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.314e-05/0.1373, allocations: 25.94 kB / 0.504 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.397e-05/0.1374, allocations: 59.42 kB / 0.5041 GB, free: 10.41 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1374, allocations: 0 / 0.5041 GB, free: 10.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.1617, allocations: 6.13 MB / 0.5101 GB, free: 4.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.1, allocations: 8.344 kB / 0.5101 GB, free: 4.289 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