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.001659/0.001659, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.001731/0.001731, 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.354/1.354, 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.2067/0.2067, allocations: 43.53 MB / 314.1 MB, free: 440 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.001277/0.001277, allocations: 67.91 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09583/0.09711, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003051/0.1002, allocations: 2.107 MB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.1019, allocations: 1.41 MB / 0.4909 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.102, allocations: 7.938 kB / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1023, allocations: 99.3 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.1025, allocations: 63.42 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.103, allocations: 211.1 kB / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.1031, allocations: 151 kB / 0.4914 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.1032, allocations: 20.28 kB / 0.4914 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1033, allocations: 55.66 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.714e-05/0.1034, allocations: 63.53 kB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1034, allocations: 8 kB / 0.4915 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000553/0.104, allocations: 427.4 kB / 0.4919 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.104, allocations: 27.8 kB / 0.4919 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.1041, allocations: 71.47 kB / 0.492 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.1046, allocations: 434.2 kB / 0.4924 GB, free: 7.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1047, allocations: 0 / 0.4924 GB, free: 7.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1047, allocations: 0 / 0.4924 GB, free: 7.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1047, allocations: 0 / 0.4924 GB, free: 7.113 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.0005679/0.1052, allocations: 0.4982 MB / 0.4929 GB, free: 6.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1053, allocations: 12.03 kB / 0.4929 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.616e-05/0.1053, allocations: 58.72 kB / 0.493 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.1054, allocations: 24.8 kB / 0.493 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1056, allocations: 211.9 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1056, allocations: 20.36 kB / 0.4932 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.1056, allocations: 15.94 kB / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.106, allocations: 210.6 kB / 0.4934 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.106, allocations: 3.984 kB / 0.4934 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.106, allocations: 4 kB / 0.4935 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1061, allocations: 8 kB / 0.4935 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.1064, allocations: 148.2 kB / 0.4936 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000762/0.1071, allocations: 0.5756 MB / 0.4942 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1073, allocations: 62.55 kB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1074, allocations: 36.94 kB / 0.4943 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1075, allocations: 7.875 kB / 0.4943 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.1075, allocations: 30.56 kB / 0.4943 GB, free: 5.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.1075, allocations: 0 / 0.4943 GB, free: 5.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004341/0.1079, allocations: 129.5 kB / 0.4944 GB, free: 4.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.108, allocations: 59.39 kB / 0.4945 GB, free: 4.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.1082, allocations: 254.7 kB / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1082, allocations: 29.64 kB / 0.4947 GB, free: 4.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1084, allocations: 167.9 kB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.1084, allocations: 19.89 kB / 0.4949 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.1084, allocations: 37.67 kB / 0.495 GB, free: 4.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1086, allocations: 334.8 kB / 0.4953 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.1087, allocations: 43.88 kB / 0.4953 GB, free: 3.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.1089, allocations: 136.7 kB / 0.4955 GB, free: 3.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.1092, allocations: 176.7 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1092, allocations: 8 kB / 0.4956 GB, free: 3.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003727/0.1096, allocations: 197.2 kB / 0.4958 GB, free: 3.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.1096, allocations: 12.42 kB / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.1097, allocations: 16 kB / 0.4958 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1097, allocations: 4 kB / 0.4958 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.1098, allocations: 27.92 kB / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.1099, allocations: 8 kB / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.11, allocations: 31.95 kB / 0.4959 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.11, allocations: 16 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.0001053/0.1101, allocations: 137.6 kB / 0.4961 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.1102, allocations: 19.86 kB / 0.4961 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.1105, allocations: 142.8 kB / 0.4962 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1105, allocations: 4 kB / 0.4962 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1105, allocations: 0 / 0.4962 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1106, allocations: 0 / 0.4962 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.1108, allocations: 225.5 kB / 0.4964 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.773e-05/0.1108, allocations: 15.98 kB / 0.4964 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.1109, allocations: 4 kB / 0.4965 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1109, allocations: 0 / 0.4965 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1109, allocations: 4 kB / 0.4965 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1109, allocations: 0 / 0.4965 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1109, allocations: 0 / 0.4965 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.1112, allocations: 211.3 kB / 0.4967 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.1113, allocations: 96.89 kB / 0.4967 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.1113, allocations: 4 kB / 0.4968 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1114, allocations: 3.984 kB / 0.4968 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.1115, allocations: 4 kB / 0.4968 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.1115, allocations: 7.984 kB / 0.4968 GB, free: 2.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.1116, allocations: 181.9 kB / 0.4969 GB, free: 2.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1116, allocations: 0 / 0.4969 GB, free: 2.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003402/0.112, allocations: 95.62 kB / 0.497 GB, free: 1.965 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.0007358/0.1127, allocations: 0.7983 MB / 0.4978 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004199/0.1131, allocations: 179.9 kB / 0.498 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1132, allocations: 0 / 0.498 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.1134, allocations: 95.38 kB / 0.4981 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1137, allocations: 31.66 kB / 0.4981 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.1163, allocations: 2.373 MB / 0.5004 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.1166, allocations: 0.7242 MB / 0.5011 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.483e-05/0.1167, allocations: 21.48 kB / 0.5012 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.1167, allocations: 59.41 kB / 0.5012 GB, free: 13.45 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1167, allocations: 0 / 0.5012 GB, free: 13.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.1404, allocations: 6.772 MB / 0.5078 GB, free: 6.688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.11, allocations: 12.38 kB / 0.5078 GB, free: 6.676 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