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.001698/0.001698, allocations: 109.2 kB / 16.41 MB, free: 6.484 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.002033/0.002033, allocations: 191.5 kB / 17.34 MB, free: 5.766 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.395/1.395, 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.2029/0.2029, allocations: 43.53 MB / 314.1 MB, free: 460 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.001571/0.001571, allocations: 71.89 kB / 441.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1156, 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_KC): time 0.003959/0.1196, allocations: 2.188 MB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.1218, allocations: 1.095 MB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.1221, allocations: 0 / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.1225, allocations: 91.38 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004338/0.123, allocations: 95.31 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.1234, allocations: 111.4 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.1237, allocations: 178.8 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.299e-05/0.1238, allocations: 32.36 kB / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.124, allocations: 71.58 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1241, allocations: 83.5 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1241, allocations: 4 kB / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.1246, allocations: 263.7 kB / 0.4915 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.1246, allocations: 27.78 kB / 0.4916 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.218e-05/0.1247, allocations: 87.36 kB / 0.4916 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004238/0.1252, allocations: 318.7 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1252, allocations: 0 / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1252, allocations: 0 / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1252, allocations: 4 kB / 0.4919 GB, free: 7.625 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.0007154/0.1259, allocations: 0.4985 MB / 0.4924 GB, free: 7.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.126, allocations: 8.031 kB / 0.4924 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.559e-05/0.126, allocations: 62.66 kB / 0.4925 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.1261, allocations: 32.66 kB / 0.4925 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.1263, allocations: 219.7 kB / 0.4927 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1264, allocations: 12.81 kB / 0.4928 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.1264, allocations: 27.88 kB / 0.4928 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.1268, allocations: 231.2 kB / 0.493 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1269, allocations: 0 / 0.493 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.1269, allocations: 4 kB / 0.493 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1269, allocations: 8 kB / 0.493 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.1273, allocations: 253.5 kB / 0.4933 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009867/0.1283, allocations: 0.6156 MB / 0.4939 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.1286, allocations: 98.56 kB / 0.494 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.1288, allocations: 44.98 kB / 0.494 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.1288, allocations: 0 / 0.494 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1288, allocations: 42.5 kB / 0.494 GB, free: 5.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 9.21e-07/0.1289, allocations: 0 / 0.494 GB, free: 5.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006022/0.1295, allocations: 165.3 kB / 0.4942 GB, free: 5.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.1295, allocations: 55.41 kB / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.1298, allocations: 270.9 kB / 0.4945 GB, free: 4.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1298, allocations: 25.7 kB / 0.4945 GB, free: 4.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.13, allocations: 171.1 kB / 0.4947 GB, free: 4.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.13, allocations: 31.62 kB / 0.4947 GB, free: 4.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-05/0.1301, allocations: 53.61 kB / 0.4948 GB, free: 4.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1303, allocations: 338.8 kB / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.1304, allocations: 47.97 kB / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.1307, allocations: 144.8 kB / 0.4953 GB, free: 3.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.1311, allocations: 216.6 kB / 0.4955 GB, free: 3.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1311, allocations: 0 / 0.4955 GB, free: 3.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005155/0.1316, allocations: 237.1 kB / 0.4957 GB, free: 3.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1317, allocations: 8 kB / 0.4957 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1317, allocations: 0 / 0.4957 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.1317, allocations: 8 kB / 0.4957 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/0.1321, allocations: 87.89 kB / 0.4958 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008142/0.133, allocations: 1.211 MB / 0.497 GB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.1332, allocations: 43.58 kB / 0.497 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.1332, allocations: 8.375 kB / 0.497 GB, free: 2.039 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.0001642/0.1334, allocations: 141.6 kB / 0.4972 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.1334, allocations: 23.91 kB / 0.4972 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/0.1339, allocations: 175.2 kB / 0.4974 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1339, allocations: 0 / 0.4974 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1339, allocations: 0 / 0.4974 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1339, allocations: 4 kB / 0.4974 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006668/0.1346, allocations: 448 kB / 0.4978 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.1346, allocations: 0 / 0.4978 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.1349, allocations: 59.95 kB / 0.4979 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.617e-06/0.1349, allocations: 3.938 kB / 0.4979 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1349, allocations: 15.94 kB / 0.4979 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006901/0.1356, allocations: 1.207 MB / 0.4991 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.1356, allocations: 3.984 kB / 0.4991 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.136, allocations: 257 kB / 0.4993 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.1361, allocations: 100.8 kB / 0.4994 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.1362, allocations: 7.938 kB / 0.4994 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1363, allocations: 11.98 kB / 0.4994 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.1364, allocations: 4 kB / 0.4994 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1364, allocations: 7.984 kB / 0.4994 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1365, allocations: 186 kB / 0.4996 GB, free: 15.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1365, allocations: 0 / 0.4996 GB, free: 15.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.1369, allocations: 71.98 kB / 0.4997 GB, free: 15.18 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.0008542/0.1378, allocations: 0.8152 MB / 0.5005 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006203/0.1384, allocations: 168 kB / 0.5006 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1384, allocations: 3.938 kB / 0.5006 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.1387, allocations: 84.77 kB / 0.5007 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1391, allocations: 29 kB / 0.5007 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.1422, allocations: 2.553 MB / 0.5032 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1425, allocations: 0.7284 MB / 0.5039 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.085e-05/0.1426, allocations: 21.95 kB / 0.504 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.914e-05/0.1427, allocations: 63.41 kB / 0.504 GB, free: 10.48 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1427, allocations: 0 / 0.504 GB, free: 10.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.1689, allocations: 6.233 MB / 0.5101 GB, free: 4.254 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.47, allocations: 8.406 kB / 0.5101 GB, free: 4.246 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.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/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