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.0008573/0.0008614, allocations: 93.14 kB / 17.35 MB, free: 6.344 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.0009312/0.0009312, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.271/1.271, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2116/0.2116, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002956, allocations: 12 kB / 410.5 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1074, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002337/0.1098, allocations: 1.824 MB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.1115, allocations: 1.379 MB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.87e-05/0.1116, allocations: 0 / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.1118, allocations: 75.56 kB / 475.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.112, allocations: 55.5 kB / 475.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.1124, allocations: 175.4 kB / 475.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1126, allocations: 163 kB / 476 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.1126, allocations: 12.31 kB / 476.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.1127, allocations: 55.66 kB / 476.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.379e-05/0.1128, allocations: 63.53 kB / 476.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1129, allocations: 8 kB / 476.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005193/0.1134, allocations: 427.3 kB / 476.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.1135, allocations: 23.86 kB / 476.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.666e-05/0.1135, allocations: 101.1 kB / 476.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.114, allocations: 426.5 kB / 477.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.114, allocations: 0 / 477.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.114, allocations: 0 / 477.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.114, allocations: 0 / 477.1 MB, free: 8.457 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.000511/0.1145, allocations: 482.6 kB / 477.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1146, allocations: 8.031 kB / 477.6 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.1146, allocations: 54.73 kB / 477.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.1147, allocations: 16.75 kB / 477.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.1148, allocations: 211.9 kB / 477.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1149, allocations: 16.38 kB / 477.9 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.1149, allocations: 19.94 kB / 477.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.1152, allocations: 210.5 kB / 478.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1153, allocations: 0 / 478.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1153, allocations: 8 kB / 478.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-06/0.1153, allocations: 7.984 kB / 478.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.1156, allocations: 160.3 kB / 478.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.1163, allocations: 0.5714 MB / 478.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1165, allocations: 70.48 kB / 478.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1166, allocations: 40.89 kB / 479 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1166, allocations: 4 kB / 479 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1167, allocations: 38.55 kB / 479 MB, free: 6.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1167, allocations: 0 / 479 MB, free: 6.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004334/0.1171, allocations: 145.4 kB / 479.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.1172, allocations: 55.34 kB / 479.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.1174, allocations: 262.6 kB / 479.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.1174, allocations: 33.7 kB / 479.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.1175, allocations: 167.6 kB / 479.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.1175, allocations: 11.75 kB / 479.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.1176, allocations: 29.7 kB / 479.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1177, allocations: 338.7 kB / 480 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1178, allocations: 35.98 kB / 480.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.118, allocations: 135.9 kB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.1183, allocations: 204.6 kB / 480.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1183, allocations: 0 / 480.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003732/0.1187, allocations: 209 kB / 480.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1187, allocations: 8 kB / 480.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.1187, allocations: 12 kB / 480.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1187, allocations: 4 kB / 480.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1189, allocations: 32.42 kB / 480.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.1189, allocations: 15.92 kB / 480.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.119, allocations: 31.69 kB / 480.7 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.119, allocations: 8 kB / 480.7 MB, free: 4.543 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 9.848e-05/0.1191, allocations: 133.7 kB / 480.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.1192, allocations: 23.72 kB / 480.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003562/0.1195, allocations: 146.8 kB / 481 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1196, allocations: 4 kB / 481 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1196, allocations: 0 / 481 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1196, allocations: 4 kB / 481 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.1198, allocations: 225.5 kB / 481.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.557e-05/0.1198, allocations: 8 kB / 481.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.1199, allocations: 7.984 kB / 481.3 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.1199, allocations: 4 kB / 481.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1199, allocations: 0 / 481.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1199, allocations: 192 / 481.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1199, allocations: 7.938 kB / 481.3 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.1202, allocations: 223.1 kB / 481.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/0.1203, allocations: 96.81 kB / 481.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.1203, allocations: 0 / 481.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1204, allocations: 19.98 kB / 481.6 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.1204, allocations: 4 kB / 481.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1204, allocations: 0 / 481.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1206, allocations: 182 kB / 481.8 MB, free: 3.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1206, allocations: 0 / 481.8 MB, free: 3.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.1209, allocations: 75.88 kB / 481.9 MB, free: 3.301 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.000674/0.1216, allocations: 0.8103 MB / 482.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003847/0.122, allocations: 183.9 kB / 482.9 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.122, allocations: 0 / 482.9 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.1222, allocations: 103.8 kB / 483 MB, free: 2.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.1225, allocations: 20.97 kB / 483 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.1251, allocations: 2.492 MB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.1253, allocations: 0.732 MB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.142e-05/0.1254, allocations: 13.55 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.1255, allocations: 63.41 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1255, allocations: 0 / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.78/3.906, allocations: 6.294 MB / 492.6 MB, free: 8.621 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003782/3.906, allocations: 285.6 kB / 492.8 MB, free: 8.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/6.147, allocations: 3.797 kB / 492.9 MB, free: 8.234 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