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.00161/0.00161, allocations: 109.1 kB / 16.27 MB, free: 6.41 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.001612/0.001612, allocations: 190.2 kB / 17.2 MB, free: 5.953 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.468/1.468, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2109/0.2109, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 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.001474/0.001474, allocations: 69.22 kB / 382.9 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1091, allocations: 57.78 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002748/0.1119, allocations: 2.181 MB / 442.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.113, allocations: 1.095 MB / 443.9 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.1131, allocations: 4 kB / 443.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.1134, allocations: 87.42 kB / 444 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.1136, allocations: 87.27 kB / 444.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.1138, allocations: 111.6 kB / 444.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.114, allocations: 178.9 kB / 444.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.393e-05/0.114, allocations: 28.33 kB / 444.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.559e-05/0.1141, allocations: 67.53 kB / 444.5 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.766e-05/0.1142, allocations: 87.48 kB / 444.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1143, allocations: 8 kB / 444.6 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.1146, allocations: 263.6 kB / 444.8 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.1146, allocations: 27.78 kB / 444.8 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.1147, allocations: 79.48 kB / 444.9 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.115, allocations: 330.5 kB / 445.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.115, allocations: 3.984 kB / 445.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.115, allocations: 0 / 445.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.1151, allocations: 0 / 445.2 MB, free: 2.156 MB / 318.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.0004382/0.1155, allocations: 0.4951 MB / 445.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.1155, allocations: 8.031 kB / 445.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.1156, allocations: 54.73 kB / 445.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.1156, allocations: 32.66 kB / 445.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.1158, allocations: 213.9 kB / 446 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1158, allocations: 16.81 kB / 446.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.1158, allocations: 23.94 kB / 446.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.1161, allocations: 227.2 kB / 446.3 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1162, allocations: 3.938 kB / 446.3 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1162, allocations: 4 kB / 446.3 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1162, allocations: 8 kB / 446.3 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.1165, allocations: 253.6 kB / 446.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/0.1173, allocations: 0.6156 MB / 447.2 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.1175, allocations: 94.66 kB / 447.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.1177, allocations: 52.83 kB / 447.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.1177, allocations: 0 / 447.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1177, allocations: 42.56 kB / 447.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.1178, allocations: 0 / 447.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005167/0.1183, allocations: 157.3 kB / 447.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.1183, allocations: 63.41 kB / 447.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.1186, allocations: 270.9 kB / 447.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1186, allocations: 25.7 kB / 447.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/0.1187, allocations: 171.3 kB / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.1187, allocations: 31.55 kB / 448.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.1188, allocations: 45.7 kB / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1189, allocations: 338.8 kB / 448.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.1191, allocations: 51.95 kB / 448.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.1193, allocations: 150.2 kB / 448.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.1196, allocations: 204.7 kB / 448.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1197, allocations: 4 kB / 448.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004465/0.1201, allocations: 248.9 kB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1201, allocations: 7.938 kB / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1201, allocations: 4.438 kB / 449.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.1202, allocations: 8 kB / 449.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.1206, allocations: 87.91 kB / 449.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006389/0.1212, allocations: 1.215 MB / 450.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.1214, allocations: 39.78 kB / 450.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.1214, allocations: 12 kB / 450.5 MB, free: 12.57 MB / 334.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.0001143/0.1216, allocations: 146 kB / 450.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.1216, allocations: 23.72 kB / 450.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.122, allocations: 167.2 kB / 450.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1221, allocations: 0 / 450.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1221, allocations: 0 / 450.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1221, allocations: 3.984 kB / 450.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005901/0.1227, allocations: 452 kB / 451.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1227, allocations: 0 / 451.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.1229, allocations: 59.91 kB / 451.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.123, allocations: 0 / 451.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.123, allocations: 8 kB / 451.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005994/0.1236, allocations: 1.215 MB / 452.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1236, allocations: 0 / 452.5 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.124, allocations: 244.8 kB / 452.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.124, allocations: 104.9 kB / 452.9 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.1241, allocations: 0 / 452.9 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.1242, allocations: 11.98 kB / 452.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.1243, allocations: 11.98 kB / 452.9 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.1243, allocations: 4 kB / 452.9 MB, free: 9.977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.1245, allocations: 186 kB / 453.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1245, allocations: 3.938 kB / 453.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003611/0.1248, allocations: 68 kB / 453.1 MB, free: 9.727 MB / 334.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.0007416/0.1256, allocations: 0.8232 MB / 454 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005397/0.1261, allocations: 172 kB / 454.1 MB, free: 8.703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1262, allocations: 0 / 454.1 MB, free: 8.703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.1265, allocations: 83.89 kB / 454.2 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1268, allocations: 32.81 kB / 454.2 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.1297, allocations: 2.561 MB / 456.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.13, allocations: 0.74 MB / 457.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.464e-05/0.1301, allocations: 25.94 kB / 457.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.685e-05/0.1302, allocations: 59.42 kB / 457.6 MB, free: 5.004 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1302, allocations: 96 / 457.6 MB, free: 5.004 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.1536, allocations: 6.023 MB / 463.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.29, allocations: 0.5 kB / 463.7 MB, free: 15.03 MB / 350.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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_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.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/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