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.001321/0.001321, allocations: 104.8 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.001294/0.001294, 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.42/1.42, 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.2132/0.2132, 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.002019/0.002019, allocations: 65.45 kB / 441.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1203, allocations: 57.79 MB / 499.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004105/0.1245, allocations: 2.676 MB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.127, allocations: 1.465 MB / 0.4915 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.1272, allocations: 4 kB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.1277, allocations: 115.2 kB / 0.4916 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004053/0.1281, allocations: 130.8 kB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006527/0.1288, allocations: 259.1 kB / 0.492 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.1291, allocations: 282.1 kB / 0.4922 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.529e-05/0.1292, allocations: 24.72 kB / 0.4923 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1293, allocations: 99.34 kB / 0.4924 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.1295, allocations: 127.2 kB / 0.4925 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.1296, allocations: 12 kB / 0.4925 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.1306, allocations: 0.5812 MB / 0.4931 GB, free: 6.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.467e-05/0.1307, allocations: 43.66 kB / 0.4931 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.1308, allocations: 131 kB / 0.4932 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007775/0.1316, allocations: 0.5367 MB / 0.4938 GB, free: 5.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1316, allocations: 3.938 kB / 0.4938 GB, free: 5.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.1316, allocations: 4 kB / 0.4938 GB, free: 5.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1317, allocations: 0 / 0.4938 GB, free: 5.73 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.0009081/0.1326, allocations: 0.6389 MB / 0.4944 GB, free: 5.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1326, allocations: 8.031 kB / 0.4944 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.024e-05/0.1327, allocations: 70.72 kB / 0.4945 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/0.1328, allocations: 44.66 kB / 0.4945 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.1331, allocations: 251.5 kB / 0.4947 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.1331, allocations: 29.38 kB / 0.4948 GB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.1332, allocations: 39.94 kB / 0.4948 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007845/0.134, allocations: 0.5687 MB / 0.4954 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.134, allocations: 3.938 kB / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.134, allocations: 24 kB / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.1341, allocations: 12 kB / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/0.1346, allocations: 329 kB / 0.4957 GB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.1377, allocations: 4.051 MB / 0.4997 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.138, allocations: 90.53 kB / 0.4998 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.1382, allocations: 48.89 kB / 0.4998 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.1382, allocations: 0 / 0.4998 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1382, allocations: 30.56 kB / 0.4998 GB, free: 15.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1382, allocations: 0 / 0.4998 GB, free: 15.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005592/0.1388, allocations: 177.3 kB / 0.5 GB, free: 14.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.1389, allocations: 55.41 kB / 0.5001 GB, free: 14.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.1393, allocations: 413.8 kB / 0.5005 GB, free: 14.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1393, allocations: 25.7 kB / 0.5005 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.1395, allocations: 259.5 kB / 0.5007 GB, free: 14.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.1396, allocations: 23.8 kB / 0.5007 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.1397, allocations: 77.86 kB / 0.5008 GB, free: 14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1399, allocations: 350.7 kB / 0.5012 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.14, allocations: 60.61 kB / 0.5012 GB, free: 13.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.1404, allocations: 266.3 kB / 0.5015 GB, free: 13.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005302/0.1409, allocations: 355.8 kB / 0.5018 GB, free: 12.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.1409, allocations: 7.984 kB / 0.5018 GB, free: 12.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006325/0.1416, allocations: 340.7 kB / 0.5021 GB, free: 12.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.1416, allocations: 8.969 kB / 0.5021 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.1416, allocations: 8 kB / 0.5022 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.1417, allocations: 12 kB / 0.5022 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/0.1422, allocations: 115.8 kB / 0.5023 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008486/0.143, allocations: 1.211 MB / 0.5035 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.1433, allocations: 67.69 kB / 0.5035 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.1434, allocations: 27.94 kB / 0.5036 GB, free: 10.95 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.0001544/0.1435, allocations: 149.2 kB / 0.5037 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.1436, allocations: 43.66 kB / 0.5037 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.1441, allocations: 176.9 kB / 0.5039 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1441, allocations: 0 / 0.5039 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1441, allocations: 0 / 0.5039 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.1441, allocations: 11.97 kB / 0.5039 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.1445, allocations: 273.5 kB / 0.5042 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1445, allocations: 4 kB / 0.5042 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.1448, allocations: 51.97 kB / 0.5042 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1448, allocations: 4 kB / 0.5042 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1448, allocations: 4 kB / 0.5042 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007991/0.1456, allocations: 1.203 MB / 0.5054 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.1456, allocations: 3.984 kB / 0.5054 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.146, allocations: 235.5 kB / 0.5056 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1462, allocations: 116.7 kB / 0.5058 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.1462, allocations: 3.938 kB / 0.5058 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.1464, allocations: 7.984 kB / 0.5058 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.1464, allocations: 11.98 kB / 0.5058 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1464, allocations: 4 kB / 0.5058 GB, free: 8.516 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002937/0.1467, allocations: 275.1 kB / 0.506 GB, free: 8.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1468, allocations: 3.938 kB / 0.506 GB, free: 8.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005401/0.1473, allocations: 111.9 kB / 0.5062 GB, free: 8.133 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.0009789/0.1483, allocations: 0.8453 MB / 0.507 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006171/0.1489, allocations: 208 kB / 0.5072 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1489, allocations: 5.688 kB / 0.5072 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.1492, allocations: 75.89 kB / 0.5073 GB, free: 6.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.1496, allocations: 41.95 kB / 0.5073 GB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/0.1541, allocations: 3.404 MB / 0.5106 GB, free: 3.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.1545, allocations: 0.7678 MB / 0.5114 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.1547, allocations: 42.89 kB / 0.5114 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.1548, allocations: 107.4 kB / 0.5115 GB, free: 2.324 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1548, allocations: 0 / 0.5115 GB, free: 2.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03585/0.1907, allocations: 9.93 MB / 0.5212 GB, free: 8.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.51, allocations: 8.312 kB / 0.5212 GB, free: 8.391 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_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.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_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