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_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 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_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.0008137/0.0008136, allocations: 91.73 kB / 17.35 MB, free: 6.027 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.0009461/0.0009461, allocations: 178.5 kB / 18.26 MB, free: 5.391 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.269/1.269, allocations: 223.3 MB / 242.3 MB, free: 14.36 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.2121/0.2121, allocations: 44.24 MB / 337.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002886, allocations: 8 kB / 410.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1073, allocations: 61.93 MB / 472.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002123/0.1094, allocations: 1.886 MB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.1108, allocations: 1.055 MB / 475.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.1109, allocations: 0 / 475.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.1112, allocations: 79.58 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.1115, allocations: 71.41 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.1118, allocations: 99.69 kB / 475.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.112, allocations: 186.9 kB / 475.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.467e-05/0.1121, allocations: 28.31 kB / 475.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.1122, allocations: 63.59 kB / 475.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.1124, allocations: 87.5 kB / 475.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.1124, allocations: 4 kB / 475.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.1128, allocations: 259.6 kB / 476.2 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.081e-05/0.1129, allocations: 31.8 kB / 476.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.878e-05/0.113, allocations: 109 kB / 476.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.1134, allocations: 322.6 kB / 476.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1134, allocations: 0 / 476.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1134, allocations: 4 kB / 476.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1134, allocations: 0 / 476.6 MB, free: 8.906 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005726/0.114, allocations: 477.3 kB / 477.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1141, allocations: 12.03 kB / 477.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.926e-05/0.1141, allocations: 54.73 kB / 477.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.1142, allocations: 24.66 kB / 477.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.1144, allocations: 212 kB / 477.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1144, allocations: 16.81 kB / 477.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.1145, allocations: 31.88 kB / 477.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.1149, allocations: 227.3 kB / 477.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.1149, allocations: 0 / 477.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.1149, allocations: 4 kB / 477.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.1149, allocations: 8 kB / 477.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.1153, allocations: 261.6 kB / 477.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008285/0.1162, allocations: 0.6118 MB / 478.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.1164, allocations: 110.5 kB / 478.7 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.1166, allocations: 48.98 kB / 478.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1166, allocations: 0 / 478.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.1166, allocations: 38.56 kB / 478.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.1166, allocations: 0 / 478.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005149/0.1172, allocations: 189.3 kB / 478.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.1172, allocations: 51.41 kB / 479 MB, free: 6.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.1174, allocations: 271.2 kB / 479.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1175, allocations: 33.7 kB / 479.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.646e-05/0.1176, allocations: 167.3 kB / 479.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.1176, allocations: 31.55 kB / 479.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.1177, allocations: 29.64 kB / 479.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1178, allocations: 334.8 kB / 479.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.1179, allocations: 55.95 kB / 479.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.1181, allocations: 156.8 kB / 480 MB, free: 5.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.1185, allocations: 228.5 kB / 480.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1185, allocations: 0 / 480.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004517/0.1189, allocations: 245.5 kB / 480.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.119, allocations: 6.812 kB / 480.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.119, allocations: 8 kB / 480.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.119, allocations: 4 kB / 480.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.1194, allocations: 87.91 kB / 480.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006291/0.12, allocations: 1.219 MB / 481.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.1202, allocations: 43.53 kB / 481.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.1202, allocations: 15.98 kB / 481.9 MB, free: 3.305 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 (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.0001133/0.1203, allocations: 137.7 kB / 482 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.1204, allocations: 19.72 kB / 482 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.1208, allocations: 179.3 kB / 482.2 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1208, allocations: 8 kB / 482.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1208, allocations: 0 / 482.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1208, allocations: 3.938 kB / 482.2 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/0.1215, allocations: 460.1 kB / 482.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1215, allocations: 0 / 482.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.1217, allocations: 59.98 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1217, allocations: 0 / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1217, allocations: 7.984 kB / 482.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005625/0.1223, allocations: 1.215 MB / 483.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1223, allocations: 0 / 483.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.1227, allocations: 260.9 kB / 484.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.1227, allocations: 100.8 kB / 484.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.1228, allocations: 4 kB / 484.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1229, allocations: 8 kB / 484.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.123, allocations: 11.98 kB / 484.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.123, allocations: 4.188 kB / 484.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.1232, allocations: 190 kB / 484.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1232, allocations: 3.938 kB / 484.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003444/0.1235, allocations: 75.94 kB / 484.6 MB, free: 428 kB / 350.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.0007312/0.1243, allocations: 0.8313 MB / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004966/0.1248, allocations: 175.8 kB / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1248, allocations: 0 / 485.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002774/0.1251, allocations: 92.89 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.1254, allocations: 20.88 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/0.1283, allocations: 2.686 MB / 488.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.1286, allocations: 0.7285 MB / 489.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.866e-05/0.1287, allocations: 29.97 kB / 489.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.648e-05/0.1288, allocations: 63.42 kB / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1288, allocations: 0 / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.204/3.333, allocations: 5.649 MB / 494.9 MB, free: 6.176 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/3.333, allocations: 282.8 kB / 495.1 MB, free: 5.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/5.302, allocations: 0 / 495.1 MB, free: 5.793 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches