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.001051/0.001051, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 202.7 kB / 16.79 MB, free: 6.84 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.36/1.36, allocations: 205.1 MB / 222.6 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3072/0.3072, allocations: 43.5 MB / 313.5 MB, free: 8.535 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.001511/0.001511, allocations: 59.91 kB / 382.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1026, allocations: 57.79 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.00303/0.1057, allocations: 2.237 MB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.107, allocations: 1.111 MB / 443.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.903e-05/0.1071, allocations: 4 kB / 443.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.1074, allocations: 87.5 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.1076, allocations: 75.45 kB / 443.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.1079, allocations: 91.66 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.108, allocations: 182.9 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.1081, allocations: 20.39 kB / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.1082, allocations: 79.52 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1083, allocations: 83.5 kB / 443.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1083, allocations: 4 kB / 443.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.1087, allocations: 255.7 kB / 444.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.1087, allocations: 27.78 kB / 444.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.58e-05/0.1088, allocations: 87.36 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.1092, allocations: 322.7 kB / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1092, allocations: 0 / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1092, allocations: 4 kB / 444.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1092, allocations: 0 / 444.6 MB, free: 10.06 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005217/0.1097, allocations: 0.4951 MB / 445.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1098, allocations: 12.03 kB / 445.1 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.1098, allocations: 54.73 kB / 445.1 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.1099, allocations: 20.66 kB / 445.2 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.11, allocations: 223.7 kB / 445.4 MB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1101, allocations: 16.75 kB / 445.4 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.1101, allocations: 31.94 kB / 445.4 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.1105, allocations: 227.2 kB / 445.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1105, allocations: 0 / 445.7 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.1105, allocations: 7.984 kB / 445.7 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1105, allocations: 4 kB / 445.7 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.1109, allocations: 249.6 kB / 445.9 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008121/0.1117, allocations: 0.6235 MB / 446.5 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.112, allocations: 98.59 kB / 446.6 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.1121, allocations: 40.91 kB / 446.7 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1121, allocations: 3.984 kB / 446.7 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.1122, allocations: 38.56 kB / 446.7 MB, free: 7.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1122, allocations: 4 kB / 446.7 MB, free: 7.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004657/0.1126, allocations: 161.2 kB / 446.9 MB, free: 7.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.1127, allocations: 55.41 kB / 446.9 MB, free: 7.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.1129, allocations: 267 kB / 447.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1129, allocations: 29.7 kB / 447.2 MB, free: 7.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/0.113, allocations: 175.3 kB / 447.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.1131, allocations: 31.55 kB / 447.4 MB, free: 7.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.626e-05/0.1131, allocations: 49.61 kB / 447.5 MB, free: 6.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.1132, allocations: 338.8 kB / 447.8 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.1134, allocations: 47.97 kB / 447.8 MB, free: 6.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.1136, allocations: 148.8 kB / 448 MB, free: 6.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.1139, allocations: 208.7 kB / 448.2 MB, free: 6.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.1139, allocations: 4 kB / 448.2 MB, free: 6.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004196/0.1143, allocations: 237 kB / 448.4 MB, free: 5.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1144, allocations: 11.92 kB / 448.4 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1144, allocations: 4 kB / 448.4 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1144, allocations: 4 kB / 448.4 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.1148, allocations: 84.34 kB / 448.5 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006685/0.1154, allocations: 1.215 MB / 449.7 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.1156, allocations: 39.58 kB / 449.8 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.1157, allocations: 12 kB / 449.8 MB, free: 4.473 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 (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.0001093/0.1158, allocations: 145.8 kB / 449.9 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.1158, allocations: 27.7 kB / 450 MB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000397/0.1162, allocations: 163.6 kB / 450.1 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1163, allocations: 8 kB / 450.1 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1163, allocations: 0 / 450.1 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1163, allocations: 0 / 450.1 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/0.1169, allocations: 452 kB / 450.6 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1169, allocations: 0 / 450.6 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.1171, allocations: 60.03 kB / 450.6 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1171, allocations: 0 / 450.6 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.1172, allocations: 8 kB / 450.6 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005624/0.1177, allocations: 1.215 MB / 451.9 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1177, allocations: 4.188 kB / 451.9 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.1181, allocations: 248.9 kB / 452.1 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.1181, allocations: 96.83 kB / 452.2 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.1182, allocations: 0 / 452.2 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1183, allocations: 15.98 kB / 452.2 MB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.1184, allocations: 11.98 kB / 452.2 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.1184, allocations: 4 kB / 452.2 MB, free: 1.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.1186, allocations: 189.9 kB / 452.4 MB, free: 1.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1186, allocations: 0 / 452.4 MB, free: 1.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003543/0.1189, allocations: 63.94 kB / 452.5 MB, free: 1.629 MB / 382.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.000733/0.1197, allocations: 0.8309 MB / 453.3 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005048/0.1202, allocations: 168.5 kB / 453.5 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1202, allocations: 192 / 453.5 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.1205, allocations: 83.95 kB / 453.6 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.1209, allocations: 32.75 kB / 453.6 MB, free: 492 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1637/0.2846, allocations: 2.609 MB / 456.2 MB, free: 48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.2848, allocations: 0.7322 MB / 456.9 MB, free: 47.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.095e-05/0.2849, allocations: 23.84 kB / 457 MB, free: 47.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/0.2849, allocations: 60.62 kB / 457 MB, free: 47.3 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2849, allocations: 2.719 kB / 457 MB, free: 47.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.3003, allocations: 5.732 MB / 462.7 MB, free: 46.8 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.3005, allocations: 281.3 kB / 463 MB, free: 46.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.021, allocations: 0 / 463 MB, free: 46.42 MB / 382.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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","../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