Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008283/0.0008282, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007432/0.0007432, allocations: 94.3 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3308/0.3308, allocations: 43.56 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 15.98 kB / 432.1 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1029, allocations: 58.84 MB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002717/0.1056, allocations: 2.269 MB / 493.2 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1076, allocations: 1.377 MB / 494.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.358e-05/0.1077, allocations: 0 / 494.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.108, allocations: 95.41 kB / 494.7 MB, free: 6.777 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.1083, allocations: 111.1 kB / 494.8 MB, free: 6.668 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.1087, allocations: 199.4 kB / 495 MB, free: 6.473 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.109, allocations: 266.1 kB / 495.2 MB, free: 6.211 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.726e-05/0.109, allocations: 32.7 kB / 495.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.388e-05/0.1091, allocations: 87.48 kB / 495.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.1093, allocations: 127.2 kB / 495.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1093, allocations: 8 kB / 495.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007329/0.1101, allocations: 0.5578 MB / 496.1 MB, free: 5.402 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.1101, allocations: 39.72 kB / 496.1 MB, free: 5.363 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.1103, allocations: 152.8 kB / 496.2 MB, free: 5.207 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.1106, allocations: 334.9 kB / 496.6 MB, free: 4.879 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1106, allocations: 8 kB / 496.6 MB, free: 4.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1106, allocations: 4 kB / 496.6 MB, free: 4.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1107, allocations: 0 / 496.6 MB, free: 4.867 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0006454/0.1113, allocations: 0.5694 MB / 497.2 MB, free: 4.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1114, allocations: 11.97 kB / 497.2 MB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.199e-05/0.1114, allocations: 74.72 kB / 497.2 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.1115, allocations: 48.31 kB / 497.3 MB, free: 4.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.1117, allocations: 255.4 kB / 497.5 MB, free: 3.816 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.1118, allocations: 29.38 kB / 497.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.1118, allocations: 39.88 kB / 497.6 MB, free: 3.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007379/0.1126, allocations: 0.5802 MB / 498.2 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.1126, allocations: 7.938 kB / 498.2 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.1126, allocations: 20 kB / 498.2 MB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.1127, allocations: 8 kB / 498.2 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005209/0.1132, allocations: 345 kB / 498.6 MB, free: 2.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1959/0.3091, allocations: 4.031 MB / 0.4908 GB, free: 39.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.3094, allocations: 93.42 kB / 0.4909 GB, free: 39.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.3096, allocations: 43.91 kB / 0.4909 GB, free: 39.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.3096, allocations: 5.562 kB / 0.4909 GB, free: 39.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.3097, allocations: 33.58 kB / 0.491 GB, free: 39.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.505e-06/0.3097, allocations: 0 / 0.491 GB, free: 39.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005368/0.3102, allocations: 185.6 kB / 0.4912 GB, free: 39.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.3102, allocations: 53.19 kB / 0.4912 GB, free: 39.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/0.3106, allocations: 415.5 kB / 0.4916 GB, free: 39.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.3107, allocations: 26.73 kB / 0.4916 GB, free: 39.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.3108, allocations: 251.7 kB / 0.4919 GB, free: 39.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.3108, allocations: 28.58 kB / 0.4919 GB, free: 39.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/0.3108, allocations: 6.625 kB / 0.4919 GB, free: 39.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.3109, allocations: 349 kB / 0.4922 GB, free: 39.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.3111, allocations: 64.83 kB / 0.4923 GB, free: 39.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.3113, allocations: 267.7 kB / 0.4925 GB, free: 38.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.3118, allocations: 367.7 kB / 0.4929 GB, free: 38.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3118, allocations: 4.875 kB / 0.4929 GB, free: 38.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006221/0.3124, allocations: 354.8 kB / 0.4932 GB, free: 38.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3124, allocations: 12.81 kB / 0.4933 GB, free: 38.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.3124, allocations: 8.75 kB / 0.4933 GB, free: 38.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.3125, allocations: 9.062 kB / 0.4933 GB, free: 38.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.3129, allocations: 117.6 kB / 0.4934 GB, free: 38.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004593/0.3134, allocations: 1.215 MB / 0.4946 GB, free: 37.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.3137, allocations: 62.73 kB / 0.4946 GB, free: 37.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.3138, allocations: 21.34 kB / 0.4946 GB, free: 37.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.3139, allocations: 156.6 kB / 0.4948 GB, free: 37.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.314, allocations: 36.84 kB / 0.4948 GB, free: 37.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004755/0.3144, allocations: 190.2 kB / 0.495 GB, free: 37.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3145, allocations: 1.688 kB / 0.495 GB, free: 37.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3145, allocations: 1.641 kB / 0.495 GB, free: 37.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3145, allocations: 2.906 kB / 0.495 GB, free: 37.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.3148, allocations: 280.3 kB / 0.4953 GB, free: 36.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3148, allocations: 1 kB / 0.4953 GB, free: 36.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.3151, allocations: 56.92 kB / 0.4953 GB, free: 36.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3151, allocations: 0 / 0.4953 GB, free: 36.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.3151, allocations: 4.594 kB / 0.4953 GB, free: 36.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004636/0.3156, allocations: 1.211 MB / 0.4965 GB, free: 35.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3156, allocations: 1.125 kB / 0.4965 GB, free: 35.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.316, allocations: 246.4 kB / 0.4968 GB, free: 35.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.3161, allocations: 108 kB / 0.4969 GB, free: 35.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.3161, allocations: 6.938 kB / 0.4969 GB, free: 35.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.3163, allocations: 10.86 kB / 0.4969 GB, free: 35.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.3164, allocations: 12.06 kB / 0.4969 GB, free: 35.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.3164, allocations: 4.656 kB / 0.4969 GB, free: 35.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003669/0.3168, allocations: 270.1 kB / 0.4972 GB, free: 35.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3168, allocations: 0 / 0.4972 GB, free: 35.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007755/0.3175, allocations: 106.6 kB / 0.4973 GB, free: 35.36 MB / 378.7 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009087/0.3185, allocations: 0.8572 MB / 0.4981 GB, free: 34.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006228/0.3191, allocations: 221.4 kB / 0.4983 GB, free: 34.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3191, allocations: 0 / 0.4983 GB, free: 34.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.3194, allocations: 82.83 kB / 0.4984 GB, free: 34.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.3198, allocations: 40.02 kB / 0.4984 GB, free: 34.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/0.3227, allocations: 1.992 MB / 0.5004 GB, free: 33.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.3229, allocations: 0.7672 MB / 0.5011 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.3231, allocations: 108.3 kB / 0.5012 GB, free: 32.95 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3231, allocations: 0 / 0.5012 GB, free: 32.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.073/3.396, allocations: 7.605 MB / 0.5087 GB, free: 32.43 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches