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_roundTube_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_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.001372/0.001372, allocations: 104.3 kB / 16.41 MB, free: 6.453 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.001228/0.001228, allocations: 189.5 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.374/1.374, 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.2141/0.2141, allocations: 43.53 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.001837/0.001837, allocations: 65.47 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1193, allocations: 57.8 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004456/0.1238, allocations: 2.676 MB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002983/0.1269, allocations: 1.465 MB / 0.4915 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.1272, allocations: 0 / 0.4915 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005168/0.1278, allocations: 111.2 kB / 0.4916 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005963/0.1285, allocations: 138.8 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007493/0.1292, allocations: 251.1 kB / 0.492 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004701/0.1297, allocations: 282.1 kB / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.406e-05/0.1298, allocations: 28.72 kB / 0.4923 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.13, allocations: 95.34 kB / 0.4924 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.1302, allocations: 123.2 kB / 0.4925 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.1302, allocations: 12 kB / 0.4925 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.1314, allocations: 0.5889 MB / 0.4931 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.1315, allocations: 43.66 kB / 0.4931 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.1317, allocations: 131 kB / 0.4932 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.1329, allocations: 0.5371 MB / 0.4937 GB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.1329, allocations: 0 / 0.4937 GB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.133, allocations: 0 / 0.4937 GB, free: 5.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.133, allocations: 0 / 0.4937 GB, free: 5.75 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0012/0.1342, allocations: 0.6239 MB / 0.4944 GB, free: 5.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.1343, allocations: 8.031 kB / 0.4944 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.901e-05/0.1344, allocations: 78.66 kB / 0.4944 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.146e-05/0.1345, allocations: 40.47 kB / 0.4945 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.1349, allocations: 259.3 kB / 0.4947 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.1349, allocations: 25.38 kB / 0.4948 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.135, allocations: 35.94 kB / 0.4948 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008568/0.1358, allocations: 0.5726 MB / 0.4953 GB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.1359, allocations: 7.938 kB / 0.4954 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.1359, allocations: 20 kB / 0.4954 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.136, allocations: 15.94 kB / 0.4954 GB, free: 3.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/0.1365, allocations: 333 kB / 0.4957 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.1393, allocations: 4.039 MB / 0.4996 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.1397, allocations: 98.47 kB / 0.4997 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.1398, allocations: 36.95 kB / 0.4998 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.1399, allocations: 0 / 0.4998 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.1399, allocations: 30.56 kB / 0.4998 GB, free: 15.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.814e-06/0.1399, allocations: 4 kB / 0.4998 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005735/0.1405, allocations: 169.1 kB / 0.5 GB, free: 14.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.1406, allocations: 51.41 kB / 0.5 GB, free: 14.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.141, allocations: 409.8 kB / 0.5004 GB, free: 14.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.141, allocations: 25.7 kB / 0.5004 GB, free: 14.42 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.1412, allocations: 262.9 kB / 0.5007 GB, free: 14.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.1412, allocations: 23.72 kB / 0.5007 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.1414, allocations: 73.83 kB / 0.5008 GB, free: 14.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1415, allocations: 350.7 kB / 0.5011 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.1417, allocations: 60.61 kB / 0.5012 GB, free: 13.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.142, allocations: 262.3 kB / 0.5014 GB, free: 13.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.1424, allocations: 360.2 kB / 0.5018 GB, free: 12.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1425, allocations: 0 / 0.5018 GB, free: 12.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006663/0.1431, allocations: 348.5 kB / 0.5021 GB, free: 12.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1432, allocations: 8.969 kB / 0.5021 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.1432, allocations: 11.98 kB / 0.5021 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.1432, allocations: 12 kB / 0.5021 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004727/0.1437, allocations: 115.8 kB / 0.5022 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007178/0.1444, allocations: 1.215 MB / 0.5034 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.1448, allocations: 67.48 kB / 0.5035 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.1448, allocations: 24 kB / 0.5035 GB, free: 10.99 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001522/0.145, allocations: 153.2 kB / 0.5037 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.145, allocations: 39.47 kB / 0.5037 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.1455, allocations: 176.9 kB / 0.5039 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1455, allocations: 0 / 0.5039 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1455, allocations: 4 kB / 0.5039 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1455, allocations: 3.984 kB / 0.5039 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.1459, allocations: 281.4 kB / 0.5041 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1459, allocations: 0 / 0.5041 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.1462, allocations: 51.97 kB / 0.5042 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1462, allocations: 4 kB / 0.5042 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.1462, allocations: 4 kB / 0.5042 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006353/0.1469, allocations: 1.203 MB / 0.5054 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1469, allocations: 0 / 0.5054 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.1473, allocations: 231.2 kB / 0.5056 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1474, allocations: 104.7 kB / 0.5057 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.1474, allocations: 11.94 kB / 0.5057 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1476, allocations: 11.92 kB / 0.5057 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.1477, allocations: 7.984 kB / 0.5057 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1477, allocations: 3.938 kB / 0.5057 GB, free: 8.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002679/0.1479, allocations: 279.2 kB / 0.506 GB, free: 8.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.148, allocations: 3.938 kB / 0.506 GB, free: 8.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005335/0.1485, allocations: 119.8 kB / 0.5061 GB, free: 8.176 MB / 398.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 (7): * Single equations (assignments): 5 * 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.0009592/0.1495, allocations: 0.8369 MB / 0.5069 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006012/0.1501, allocations: 203.9 kB / 0.5071 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1501, allocations: 1.688 kB / 0.5071 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.1504, allocations: 79.89 kB / 0.5072 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.1508, allocations: 46.56 kB / 0.5072 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.1551, allocations: 3.388 MB / 0.5106 GB, free: 3.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.1555, allocations: 0.7678 MB / 0.5113 GB, free: 2.531 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.1556, allocations: 38.89 kB / 0.5113 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.1558, allocations: 103.4 kB / 0.5114 GB, free: 2.398 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1558, allocations: 0 / 0.5114 GB, free: 2.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03257/0.1883, allocations: 10.07 MB / 0.5213 GB, free: 8.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/11.93, allocations: 8.312 kB / 0.5213 GB, free: 8.328 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches