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.001405/0.001405, allocations: 108.1 kB / 17.21 MB, free: 6.293 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.001495/0.001495, allocations: 194 kB / 18.12 MB, free: 5.383 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.364/1.364, allocations: 222.9 MB / 241.8 MB, free: 13.8 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.2033/0.2033, allocations: 44.17 MB / 336.1 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 62.25 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.09989, allocations: 60.83 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003443/0.1034, allocations: 2.167 MB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.1053, allocations: 1.39 MB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.763e-05/0.1055, allocations: 4 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.1058, allocations: 75.56 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.106, allocations: 59.48 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.1065, allocations: 171.4 kB / 472.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.1066, allocations: 163 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.685e-05/0.1067, allocations: 16.31 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.1069, allocations: 55.66 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.107, allocations: 63.53 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.107, allocations: 8 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007083/0.1078, allocations: 423.4 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.1078, allocations: 31.73 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.591e-05/0.1079, allocations: 67.44 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006244/0.1086, allocations: 434.5 kB / 473.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1086, allocations: 0 / 473.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.1086, allocations: 4 kB / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.1086, allocations: 0 / 473.8 MB, free: 9.59 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.0007516/0.1094, allocations: 0.4947 MB / 474.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.1094, allocations: 8.031 kB / 474.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.358e-05/0.1095, allocations: 54.73 kB / 474.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.1095, allocations: 20.75 kB / 474.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.1098, allocations: 207.9 kB / 474.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.1098, allocations: 12.38 kB / 474.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.1098, allocations: 23.94 kB / 474.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.1102, allocations: 198.5 kB / 474.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1103, allocations: 0 / 474.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.1103, allocations: 19.98 kB / 474.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1103, allocations: 4 kB / 474.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.1106, allocations: 140.3 kB / 474.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009072/0.1115, allocations: 0.583 MB / 475.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.1117, allocations: 66.48 kB / 475.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1119, allocations: 32.94 kB / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.1119, allocations: 0 / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1119, allocations: 38.56 kB / 475.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.051e-06/0.1119, allocations: 0 / 475.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004571/0.1124, allocations: 137.3 kB / 475.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.1124, allocations: 51.41 kB / 475.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.1127, allocations: 258.6 kB / 476.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1127, allocations: 29.7 kB / 476.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1128, allocations: 163.6 kB / 476.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.1129, allocations: 19.73 kB / 476.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-05/0.1129, allocations: 45.61 kB / 476.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1131, allocations: 338.8 kB / 476.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1132, allocations: 31.97 kB / 476.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.1134, allocations: 128.8 kB / 476.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.1137, allocations: 184.7 kB / 477 MB, free: 6.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1137, allocations: 0 / 477 MB, free: 6.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000397/0.1141, allocations: 201.5 kB / 477.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1141, allocations: 4 kB / 477.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/0.1142, allocations: 12 kB / 477.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1142, allocations: 4 kB / 477.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1143, allocations: 35.92 kB / 477.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1143, allocations: 11.92 kB / 477.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.1145, allocations: 35.53 kB / 477.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1145, allocations: 8 kB / 477.3 MB, free: 5.715 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.0001092/0.1146, allocations: 137.8 kB / 477.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.1147, allocations: 15.81 kB / 477.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/0.1151, allocations: 142.7 kB / 477.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1151, allocations: 0 / 477.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1151, allocations: 4 kB / 477.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1151, allocations: 0 / 477.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.1153, allocations: 225.5 kB / 477.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/0.1153, allocations: 8 kB / 477.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/0.1154, allocations: 12.17 kB / 477.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1154, allocations: 0 / 477.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1154, allocations: 7.938 kB / 477.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1154, allocations: 3.984 kB / 477.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.1154, allocations: 4 kB / 477.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.116, allocations: 207.2 kB / 478.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.116, allocations: 96.81 kB / 478.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.1161, allocations: 0 / 478.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1162, allocations: 8 kB / 478.2 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.1162, allocations: 7.984 kB / 478.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.1163, allocations: 0 / 478.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.1164, allocations: 190 kB / 478.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1164, allocations: 0 / 478.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003791/0.1168, allocations: 71.88 kB / 478.4 MB, free: 4.496 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.0008338/0.1176, allocations: 0.7988 MB / 479.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000533/0.1182, allocations: 171.2 kB / 479.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1182, allocations: 0 / 479.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.1185, allocations: 108.1 kB / 479.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.1189, allocations: 16.89 kB / 479.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.1227, allocations: 2.439 MB / 481.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.1231, allocations: 0.7319 MB / 482.7 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.142e-05/0.1232, allocations: 13.55 kB / 482.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.233e-05/0.1233, allocations: 55.42 kB / 482.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1233, allocations: 0 / 482.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.1421, allocations: 6.369 MB / 489.1 MB, free: 9.805 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.1424, allocations: 279 kB / 489.4 MB, free: 9.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.069, allocations: 0 / 489.4 MB, free: 9.426 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.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_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