Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.00131/0.00131, allocations: 102.7 kB / 17.63 MB, free: 5.344 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.001076/0.001076, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1956/0.1956, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 57.03 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1094, allocations: 60.84 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003592/0.113, allocations: 2.103 MB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.1153, allocations: 1.382 MB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.1155, allocations: 0 / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.1159, allocations: 83.44 kB / 473 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.1162, allocations: 59.44 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.1168, allocations: 211.1 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.117, allocations: 147 kB / 473.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.913e-05/0.1171, allocations: 16.31 kB / 473.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.1172, allocations: 51.67 kB / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1174, allocations: 75.52 kB / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1174, allocations: 0 / 473.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006389/0.118, allocations: 431.3 kB / 473.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.1181, allocations: 19.86 kB / 473.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.397e-05/0.1182, allocations: 75.42 kB / 474 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005321/0.1187, allocations: 438.5 kB / 474.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1187, allocations: 0 / 474.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1187, allocations: 0 / 474.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1187, allocations: 0 / 474.4 MB, free: 9.168 MB / 350.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.0006302/0.1194, allocations: 0.4946 MB / 474.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1194, allocations: 12.03 kB / 474.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.342e-05/0.1195, allocations: 50.73 kB / 475 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.1196, allocations: 24.69 kB / 475 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.1198, allocations: 208 kB / 475.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.1198, allocations: 8.375 kB / 475.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.1198, allocations: 23.94 kB / 475.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.1202, allocations: 202.5 kB / 475.5 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1202, allocations: 3.984 kB / 475.5 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.1203, allocations: 12 kB / 475.5 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.1203, allocations: 4 kB / 475.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.1206, allocations: 144.3 kB / 475.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009042/0.1215, allocations: 0.5752 MB / 476.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.1217, allocations: 66.48 kB / 476.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.1219, allocations: 36.89 kB / 476.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.1219, allocations: 0 / 476.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.122, allocations: 34.56 kB / 476.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.122, allocations: 0 / 476.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004582/0.1224, allocations: 141.3 kB / 476.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.1225, allocations: 51.41 kB / 476.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.1227, allocations: 254.6 kB / 476.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1227, allocations: 29.7 kB / 476.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.1229, allocations: 171.6 kB / 477 MB, free: 6.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.1229, allocations: 19.75 kB / 477 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.123, allocations: 45.61 kB / 477 MB, free: 6.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1231, allocations: 338.8 kB / 477.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1233, allocations: 31.97 kB / 477.4 MB, free: 6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.1235, allocations: 128.9 kB / 477.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.1238, allocations: 192.6 kB / 477.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1238, allocations: 0 / 477.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003945/0.1242, allocations: 197.7 kB / 477.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1242, allocations: 8 kB / 477.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.1243, allocations: 12 kB / 477.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1243, allocations: 8 kB / 477.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.1244, allocations: 31.97 kB / 477.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1244, allocations: 7.938 kB / 478 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.1246, allocations: 31.59 kB / 478 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.1246, allocations: 16 kB / 478 MB, free: 5.281 MB / 350.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.0001091/0.1247, allocations: 133.7 kB / 478.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.1248, allocations: 15.81 kB / 478.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003906/0.1252, allocations: 138.7 kB / 478.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.1252, allocations: 4 kB / 478.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1252, allocations: 4 kB / 478.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1252, allocations: 0 / 478.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.1254, allocations: 225.5 kB / 478.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/0.1255, allocations: 8 kB / 478.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.1255, allocations: 7.984 kB / 478.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1255, allocations: 0 / 478.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1255, allocations: 4 kB / 478.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1256, allocations: 0 / 478.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1256, allocations: 7.922 kB / 478.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.1259, allocations: 207.2 kB / 478.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.126, allocations: 96.81 kB / 478.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.126, allocations: 0 / 478.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1261, allocations: 11.98 kB / 478.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1262, allocations: 4 kB / 478.9 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.1262, allocations: 4 kB / 478.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.1263, allocations: 186 kB / 479 MB, free: 4.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1263, allocations: 0 / 479 MB, free: 4.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000423/0.1268, allocations: 75.88 kB / 479.1 MB, free: 4.07 MB / 350.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.0007849/0.1276, allocations: 0.8115 MB / 479.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004542/0.128, allocations: 171.2 kB / 480.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.128, allocations: 0 / 480.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.1282, allocations: 104.2 kB / 480.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.1286, allocations: 16.89 kB / 480.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.1314, allocations: 2.383 MB / 482.6 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.1317, allocations: 0.732 MB / 483.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.329e-05/0.1318, allocations: 13.55 kB / 483.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.445e-05/0.1319, allocations: 59.42 kB / 483.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1319, allocations: 3.938 kB / 483.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.1568, allocations: 6.644 MB / 490 MB, free: 9.125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.13, allocations: 9.656 kB / 490.1 MB, free: 9.125 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches