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.001268/0.001268, allocations: 104 kB / 16.27 MB, free: 6.043 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.001321/0.001321, allocations: 190.8 kB / 17.19 MB, free: 5.688 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.527/1.527, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2041/0.2041, allocations: 43.52 MB / 313.9 MB, free: 0.543 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.001687/0.001687, allocations: 69.19 kB / 382.9 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1128, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003452/0.1163, allocations: 2.104 MB / 442.7 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.1181, allocations: 1.414 MB / 444.2 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1183, allocations: 4 kB / 444.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.1186, allocations: 87.44 kB / 444.3 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.1189, allocations: 67.36 kB / 444.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005825/0.1194, allocations: 207.1 kB / 444.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1196, allocations: 151 kB / 444.7 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.776e-05/0.1197, allocations: 20.3 kB / 444.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.1198, allocations: 59.61 kB / 444.7 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.721e-05/0.1199, allocations: 67.45 kB / 444.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.12, allocations: 4 kB / 444.8 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005304/0.1205, allocations: 431.4 kB / 445.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.1206, allocations: 23.8 kB / 445.3 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.823e-05/0.1206, allocations: 67.55 kB / 445.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.1211, allocations: 426.5 kB / 445.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1211, allocations: 4 kB / 445.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1211, allocations: 0 / 445.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1211, allocations: 7.938 kB / 445.8 MB, free: 1.66 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005215/0.1217, allocations: 498.6 kB / 446.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1217, allocations: 12.03 kB / 446.3 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.1218, allocations: 50.73 kB / 446.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.1218, allocations: 24.66 kB / 446.3 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.122, allocations: 213.9 kB / 446.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.122, allocations: 16.38 kB / 446.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.122, allocations: 19.94 kB / 446.6 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.1223, allocations: 206.7 kB / 446.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1223, allocations: 0 / 446.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1224, allocations: 11.94 kB / 446.8 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.1224, allocations: 4 kB / 446.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.1226, allocations: 152.2 kB / 446.9 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007722/0.1234, allocations: 0.5675 MB / 447.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.1236, allocations: 62.55 kB / 447.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1237, allocations: 28.95 kB / 447.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.1238, allocations: 4 kB / 447.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.1238, allocations: 34.55 kB / 447.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.1238, allocations: 0 / 447.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004559/0.1243, allocations: 137.5 kB / 447.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.1244, allocations: 55.41 kB / 447.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.1246, allocations: 258.6 kB / 448.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1246, allocations: 25.7 kB / 448.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.1247, allocations: 159.7 kB / 448.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.1248, allocations: 27.64 kB / 448.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.94e-05/0.1248, allocations: 37.7 kB / 448.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1249, allocations: 338.8 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1251, allocations: 39.97 kB / 448.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.1253, allocations: 134 kB / 448.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.1256, allocations: 180.6 kB / 449 MB, free: 14.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1256, allocations: 3.938 kB / 449 MB, free: 14.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003973/0.126, allocations: 201.1 kB / 449.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.126, allocations: 4 kB / 449.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/0.1261, allocations: 16 kB / 449.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1261, allocations: 7.938 kB / 449.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.1262, allocations: 35.91 kB / 449.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1262, allocations: 4 kB / 449.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.1264, allocations: 36.02 kB / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.1264, allocations: 12 kB / 449.3 MB, free: 13.78 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 (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.0001046/0.1265, allocations: 141.6 kB / 449.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.1266, allocations: 19.72 kB / 449.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/0.127, allocations: 138.8 kB / 449.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.127, allocations: 0 / 449.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.127, allocations: 144 / 449.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.127, allocations: 7.984 kB / 449.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.1272, allocations: 217.5 kB / 449.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/0.1273, allocations: 12 kB / 449.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-05/0.1273, allocations: 11.98 kB / 449.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1273, allocations: 0 / 449.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.1274, allocations: 0 / 449.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1274, allocations: 8 kB / 449.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1274, allocations: 4 kB / 449.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.1277, allocations: 207.2 kB / 450.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.1277, allocations: 92.83 kB / 450.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.1278, allocations: 0 / 450.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1279, allocations: 7.984 kB / 450.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.1279, allocations: 8 kB / 450.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.128, allocations: 4 kB / 450.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1281, allocations: 182 kB / 450.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1281, allocations: 3.938 kB / 450.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000394/0.1285, allocations: 75.88 kB / 450.4 MB, free: 12.57 MB / 334.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.0007523/0.1293, allocations: 0.8058 MB / 451.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004345/0.1297, allocations: 171.1 kB / 451.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1297, allocations: 4.812 kB / 451.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.1299, allocations: 103.3 kB / 451.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1303, allocations: 24.86 kB / 451.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.1329, allocations: 2.39 MB / 453.9 MB, free: 8.863 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.1332, allocations: 0.732 MB / 454.6 MB, free: 8.105 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.713e-05/0.1333, allocations: 13.55 kB / 454.7 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.1333, allocations: 63.41 kB / 454.7 MB, free: 8.031 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1333, allocations: 0 / 454.7 MB, free: 8.031 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.1573, allocations: 6.636 MB / 461.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.36, allocations: 12.03 kB / 461.4 MB, free: 1.438 MB / 334.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