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.00121/0.00121, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001175/0.001175, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.25/1.25, allocations: 222.9 MB / 242.3 MB, free: 15.2 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.2123/0.2123, allocations: 44.16 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 59.81 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1033, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003441/0.1068, allocations: 2.188 MB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.1084, allocations: 1.059 MB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.1086, allocations: 4 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.1089, allocations: 91.38 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.1093, allocations: 75.33 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.1096, allocations: 130.2 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.1098, allocations: 170.9 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.551e-05/0.1099, allocations: 16.41 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.11, allocations: 71.53 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.1102, allocations: 83.48 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1102, allocations: 8 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.1106, allocations: 259.7 kB / 473.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.1107, allocations: 35.72 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.661e-05/0.1108, allocations: 79.41 kB / 473.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004204/0.1112, allocations: 326.7 kB / 473.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1112, allocations: 4 kB / 473.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1112, allocations: 0 / 473.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1112, allocations: 0 / 473.9 MB, free: 9.652 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.0005874/0.1118, allocations: 0.499 MB / 474.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1119, allocations: 8.031 kB / 474.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.792e-05/0.1119, allocations: 54.73 kB / 474.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.112, allocations: 24.66 kB / 474.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.1122, allocations: 219.5 kB / 474.7 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.1123, allocations: 20.81 kB / 474.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.1123, allocations: 27.92 kB / 474.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.1127, allocations: 227.2 kB / 475 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1128, allocations: 0 / 475 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.1128, allocations: 8 kB / 475 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.1128, allocations: 8 kB / 475 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.1132, allocations: 245.6 kB / 475.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.1143, allocations: 0.6196 MB / 475.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.1146, allocations: 94.62 kB / 476 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.1147, allocations: 44.92 kB / 476 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.1147, allocations: 7.938 kB / 476 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1148, allocations: 34.56 kB / 476.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.1148, allocations: 0 / 476.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005479/0.1153, allocations: 165.3 kB / 476.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.1154, allocations: 59.34 kB / 476.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.1156, allocations: 266.9 kB / 476.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1157, allocations: 29.7 kB / 476.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1158, allocations: 175.3 kB / 476.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.1158, allocations: 35.55 kB / 476.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/0.1159, allocations: 49.61 kB / 476.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.116, allocations: 334.8 kB / 477.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.1162, allocations: 51.97 kB / 477.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.1164, allocations: 136.8 kB / 477.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.1168, allocations: 220.5 kB / 477.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1168, allocations: 4 kB / 477.6 MB, free: 5.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004856/0.1173, allocations: 237 kB / 477.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1173, allocations: 4 kB / 477.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1173, allocations: 4 kB / 477.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1173, allocations: 8 kB / 477.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.1177, allocations: 84.33 kB / 477.9 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007614/0.1185, allocations: 1.219 MB / 479.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.1187, allocations: 35.67 kB / 479.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.1188, allocations: 12 kB / 479.2 MB, free: 4.078 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.0001409/0.1189, allocations: 137.8 kB / 479.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.119, allocations: 23.72 kB / 479.3 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004553/0.1194, allocations: 179.5 kB / 479.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.1195, allocations: 0 / 479.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1195, allocations: 4 kB / 479.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1195, allocations: 0 / 479.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.1201, allocations: 452 kB / 479.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1201, allocations: 0 / 479.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.1204, allocations: 56.05 kB / 480 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.1204, allocations: 3.984 kB / 480 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.1204, allocations: 4.094 kB / 480 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005975/0.121, allocations: 1.215 MB / 481.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.121, allocations: 4.062 kB / 481.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.1214, allocations: 244.8 kB / 481.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.599e-05/0.1215, allocations: 96.81 kB / 481.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.1215, allocations: 4 kB / 481.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.1217, allocations: 15.98 kB / 481.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.1217, allocations: 11.94 kB / 481.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.1218, allocations: 4 kB / 481.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.1219, allocations: 186 kB / 481.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1219, allocations: 0 / 481.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003838/0.1223, allocations: 67.94 kB / 481.8 MB, free: 1.23 MB / 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.0007617/0.1231, allocations: 0.8231 MB / 482.7 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005368/0.1236, allocations: 168.3 kB / 482.8 MB, free: 216 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1237, allocations: 4.312 kB / 482.8 MB, free: 212 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000292/0.124, allocations: 87.89 kB / 482.9 MB, free: 124 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1243, allocations: 24.88 kB / 482.9 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.1273, allocations: 2.572 MB / 485.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.1276, allocations: 0.7323 MB / 486.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.324e-05/0.1277, allocations: 21.95 kB / 486.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.203e-05/0.1278, allocations: 63.41 kB / 486.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1278, allocations: 0 / 486.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/0.1537, allocations: 6.01 MB / 492.3 MB, free: 6.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/11.94, allocations: 17.02 kB / 492.3 MB, free: 6.688 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