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.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.001373/0.001373, allocations: 109.1 kB / 16.41 MB, free: 6.434 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.001337/0.001337, allocations: 185 kB / 17.34 MB, free: 5.734 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.433/1.433, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2256/0.2256, allocations: 43.52 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.001996/0.001996, allocations: 71.89 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1127, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003319/0.1161, allocations: 2.107 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.1182, allocations: 1.414 MB / 0.4909 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1184, allocations: 0 / 0.4909 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.1187, allocations: 95.31 kB / 0.491 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.1189, allocations: 63.41 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.1194, allocations: 219.1 kB / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.1196, allocations: 143 kB / 0.4914 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.977e-05/0.1197, allocations: 20.3 kB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.1198, allocations: 55.66 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.12, allocations: 67.53 kB / 0.4915 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.12, allocations: 4 kB / 0.4915 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006391/0.1206, allocations: 423.4 kB / 0.4919 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.1207, allocations: 31.8 kB / 0.4919 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.907e-05/0.1208, allocations: 71.42 kB / 0.492 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.1214, allocations: 434.3 kB / 0.4924 GB, free: 7.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.1214, allocations: 0 / 0.4924 GB, free: 7.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1214, allocations: 0 / 0.4924 GB, free: 7.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1214, allocations: 0 / 0.4924 GB, free: 7.137 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006777/0.1221, allocations: 0.5016 MB / 0.4929 GB, free: 6.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1221, allocations: 8.031 kB / 0.4929 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.3e-05/0.1222, allocations: 58.67 kB / 0.493 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.1223, allocations: 28.78 kB / 0.493 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1225, allocations: 211.9 kB / 0.4932 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.1225, allocations: 16.38 kB / 0.4932 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1225, allocations: 19.94 kB / 0.4932 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.1229, allocations: 202.7 kB / 0.4934 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1229, allocations: 0 / 0.4934 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.123, allocations: 12 kB / 0.4934 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.123, allocations: 7.984 kB / 0.4935 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.1233, allocations: 148.2 kB / 0.4936 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000871/0.1242, allocations: 0.5872 MB / 0.4942 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.1244, allocations: 62.48 kB / 0.4942 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.1245, allocations: 28.95 kB / 0.4943 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.1245, allocations: 7.984 kB / 0.4943 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1246, allocations: 34.56 kB / 0.4943 GB, free: 5.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1246, allocations: 0 / 0.4943 GB, free: 5.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004488/0.125, allocations: 125.5 kB / 0.4944 GB, free: 4.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.1251, allocations: 51.41 kB / 0.4945 GB, free: 4.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.1254, allocations: 258.7 kB / 0.4947 GB, free: 4.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1255, allocations: 29.7 kB / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.1256, allocations: 175.8 kB / 0.4949 GB, free: 4.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.1256, allocations: 15.91 kB / 0.4949 GB, free: 4.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.1257, allocations: 41.66 kB / 0.495 GB, free: 4.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1258, allocations: 334.8 kB / 0.4953 GB, free: 3.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.126, allocations: 43.88 kB / 0.4953 GB, free: 3.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.1262, allocations: 128.8 kB / 0.4954 GB, free: 3.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.1265, allocations: 184.6 kB / 0.4956 GB, free: 3.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1265, allocations: 0 / 0.4956 GB, free: 3.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004067/0.127, allocations: 201.2 kB / 0.4958 GB, free: 3.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.127, allocations: 10.66 kB / 0.4958 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/0.127, allocations: 15.98 kB / 0.4958 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.127, allocations: 4.438 kB / 0.4958 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1272, allocations: 35.92 kB / 0.4959 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/0.1272, allocations: 11.92 kB / 0.4959 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.1273, allocations: 35.77 kB / 0.4959 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.1274, allocations: 8 kB / 0.4959 GB, free: 3.219 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.1275, allocations: 129.7 kB / 0.4961 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.1275, allocations: 23.86 kB / 0.4961 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003849/0.1279, allocations: 138.8 kB / 0.4962 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1279, allocations: 192 / 0.4962 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1279, allocations: 4 kB / 0.4962 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.128, allocations: 3.984 kB / 0.4962 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.1282, allocations: 221.5 kB / 0.4964 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/0.1283, allocations: 12 kB / 0.4964 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.1283, allocations: 19.92 kB / 0.4965 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1283, allocations: 0 / 0.4965 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.1283, allocations: 0 / 0.4965 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1284, allocations: 0 / 0.4965 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1284, allocations: 0 / 0.4965 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.1287, allocations: 215.2 kB / 0.4967 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.1288, allocations: 96.95 kB / 0.4968 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.1289, allocations: 0 / 0.4968 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.129, allocations: 7.984 kB / 0.4968 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.129, allocations: 4 kB / 0.4968 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.129, allocations: 0 / 0.4968 GB, free: 2.258 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.1292, allocations: 186 kB / 0.4969 GB, free: 2.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1292, allocations: 3.938 kB / 0.4969 GB, free: 2.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003754/0.1296, allocations: 79.7 kB / 0.497 GB, free: 1.996 MB / 382.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008637/0.1305, allocations: 0.8019 MB / 0.4978 GB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004592/0.1309, allocations: 176 kB / 0.498 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1309, allocations: 0 / 0.498 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.1312, allocations: 95.38 kB / 0.4981 GB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.1316, allocations: 29.23 kB / 0.4981 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.1352, allocations: 2.377 MB / 0.5004 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.1357, allocations: 0.732 MB / 0.5011 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.415e-05/0.1358, allocations: 21.53 kB / 0.5012 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.1359, allocations: 55.42 kB / 0.5012 GB, free: 13.47 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1359, allocations: 0 / 0.5012 GB, free: 13.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03432/0.1703, allocations: 6.767 MB / 0.5078 GB, free: 6.711 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/11.96, allocations: 8.328 kB / 0.5078 GB, free: 6.703 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches