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.001409/0.001409, 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.001391/0.001392, 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.363/1.363, 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.2165/0.2165, allocations: 43.53 MB / 314.1 MB, free: 436 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.001631/0.001631, allocations: 77.45 kB / 441.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1203, allocations: 57.78 MB / 499.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004212/0.1246, allocations: 2.684 MB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.1272, allocations: 1.461 MB / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.1275, allocations: 3.938 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.128, allocations: 111.2 kB / 0.4916 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005249/0.1285, allocations: 142.9 kB / 0.4917 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007184/0.1293, allocations: 255.1 kB / 0.492 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.1297, allocations: 274.1 kB / 0.4922 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.885e-05/0.1298, allocations: 32.7 kB / 0.4923 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.13, allocations: 99.34 kB / 0.4924 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.1302, allocations: 123.2 kB / 0.4925 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.1303, allocations: 12 kB / 0.4925 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.1314, allocations: 0.589 MB / 0.4931 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.427e-05/0.1314, allocations: 43.66 kB / 0.4931 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.1316, allocations: 135 kB / 0.4932 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008868/0.1325, allocations: 0.5367 MB / 0.4938 GB, free: 5.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1325, allocations: 0 / 0.4938 GB, free: 5.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1325, allocations: 0 / 0.4938 GB, free: 5.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.1325, allocations: 0 / 0.4938 GB, free: 5.711 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.001/0.1336, allocations: 0.635 MB / 0.4944 GB, free: 5.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.1336, allocations: 12.03 kB / 0.4944 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.359e-05/0.1337, allocations: 74.72 kB / 0.4945 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.1338, allocations: 44.66 kB / 0.4945 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.1341, allocations: 251.5 kB / 0.4948 GB, free: 4.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.1341, allocations: 29.38 kB / 0.4948 GB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.1342, allocations: 31.94 kB / 0.4948 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007756/0.135, allocations: 0.5765 MB / 0.4954 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.135, allocations: 3.938 kB / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.135, allocations: 23.98 kB / 0.4954 GB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.1351, allocations: 19.94 kB / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005634/0.1356, allocations: 329 kB / 0.4957 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.138, allocations: 4.043 MB / 0.4997 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.1383, allocations: 94.52 kB / 0.4998 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.1385, allocations: 40.95 kB / 0.4998 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.1385, allocations: 4 kB / 0.4998 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1385, allocations: 34.5 kB / 0.4998 GB, free: 15.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.1385, allocations: 0 / 0.4998 GB, free: 15.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005284/0.1391, allocations: 161.6 kB / 0.5 GB, free: 14.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1391, allocations: 63.39 kB / 0.5001 GB, free: 14.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.1395, allocations: 405.8 kB / 0.5005 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1396, allocations: 29.7 kB / 0.5005 GB, free: 14.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.1398, allocations: 259.5 kB / 0.5007 GB, free: 14.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.1398, allocations: 27.8 kB / 0.5008 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.1399, allocations: 77.86 kB / 0.5008 GB, free: 13.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1401, allocations: 354.7 kB / 0.5012 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.1402, allocations: 56.61 kB / 0.5012 GB, free: 13.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.1405, allocations: 266.3 kB / 0.5015 GB, free: 13.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/0.141, allocations: 359.9 kB / 0.5018 GB, free: 12.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.1411, allocations: 4 kB / 0.5018 GB, free: 12.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006245/0.1417, allocations: 344.7 kB / 0.5021 GB, free: 12.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.1417, allocations: 12.94 kB / 0.5022 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.1417, allocations: 4 kB / 0.5022 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.1418, allocations: 12 kB / 0.5022 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.1423, allocations: 119.8 kB / 0.5023 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008651/0.1431, allocations: 1.211 MB / 0.5035 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.1434, allocations: 67.5 kB / 0.5035 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.1435, allocations: 24.19 kB / 0.5036 GB, free: 10.92 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.0001605/0.1436, allocations: 153.5 kB / 0.5037 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/0.1437, allocations: 43.66 kB / 0.5037 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004269/0.1441, allocations: 164.9 kB / 0.5039 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1442, allocations: 4 kB / 0.5039 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1442, allocations: 4 kB / 0.5039 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1442, allocations: 3.984 kB / 0.5039 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.1445, allocations: 269.5 kB / 0.5042 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1445, allocations: 0 / 0.5042 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.1448, allocations: 59.97 kB / 0.5042 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1448, allocations: 0 / 0.5042 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1448, allocations: 4 kB / 0.5042 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007741/0.1456, allocations: 1.207 MB / 0.5054 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1456, allocations: 4.031 kB / 0.5054 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.146, allocations: 243.3 kB / 0.5057 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.1462, allocations: 108.8 kB / 0.5058 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.1462, allocations: 7.938 kB / 0.5058 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1464, allocations: 11.92 kB / 0.5058 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.1465, allocations: 7.984 kB / 0.5058 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.1465, allocations: 4 kB / 0.5058 GB, free: 8.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003503/0.1468, allocations: 279.1 kB / 0.5061 GB, free: 8.219 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1469, allocations: 0 / 0.5061 GB, free: 8.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006657/0.1475, allocations: 103.9 kB / 0.5062 GB, free: 8.117 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.001174/0.1487, allocations: 0.8525 MB / 0.507 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005989/0.1493, allocations: 200.3 kB / 0.5072 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.1493, allocations: 1.562 kB / 0.5072 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.1496, allocations: 80.11 kB / 0.5073 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.1501, allocations: 46.08 kB / 0.5073 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.1542, allocations: 3.408 MB / 0.5106 GB, free: 3.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.1546, allocations: 0.7678 MB / 0.5114 GB, free: 2.441 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.1547, allocations: 42.89 kB / 0.5114 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.1549, allocations: 103.2 kB / 0.5115 GB, free: 2.309 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1549, allocations: 0 / 0.5115 GB, free: 2.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/0.1869, allocations: 9.926 MB / 0.5212 GB, free: 8.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.28, allocations: 16.3 kB / 0.5212 GB, free: 8.371 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