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.0007705/0.0007705, allocations: 97.02 kB / 16.02 MB, free: 84 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.0008325/0.0008326, allocations: 179.7 kB / 16.92 MB, free: 6.68 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.428/1.428, allocations: 205.4 MB / 223.1 MB, free: 5.508 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.3821/0.3821, allocations: 43.57 MB / 315 MB, free: 8.828 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.0005317/0.0005317, allocations: 12 kB / 384.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1093, allocations: 58.86 MB / 443.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002245/0.1116, allocations: 1.89 MB / 445.5 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.1133, allocations: 1.099 MB / 446.6 MB, free: 9.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.938e-05/0.1134, allocations: 4 kB / 446.6 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.1137, allocations: 75.56 kB / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.1141, allocations: 79.39 kB / 446.7 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.1143, allocations: 91.7 kB / 446.8 MB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.1145, allocations: 190.9 kB / 447 MB, free: 9.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.923e-05/0.1146, allocations: 28.31 kB / 447 MB, free: 9.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.1147, allocations: 63.59 kB / 447.1 MB, free: 9.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.1149, allocations: 87.48 kB / 447.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.1149, allocations: 8 kB / 447.2 MB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003625/0.1153, allocations: 251.6 kB / 447.4 MB, free: 8.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.624e-05/0.1153, allocations: 31.78 kB / 447.4 MB, free: 8.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.902e-05/0.1154, allocations: 113 kB / 447.6 MB, free: 8.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.1158, allocations: 322.6 kB / 447.9 MB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1158, allocations: 4 kB / 447.9 MB, free: 8.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1158, allocations: 0 / 447.9 MB, free: 8.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1159, allocations: 0 / 447.9 MB, free: 8.211 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.0005738/0.1164, allocations: 471.1 kB / 448.3 MB, free: 7.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1165, allocations: 12.03 kB / 448.3 MB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.197e-05/0.1166, allocations: 58.72 kB / 448.4 MB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.1166, allocations: 24.66 kB / 448.4 MB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1168, allocations: 219.9 kB / 448.6 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.1168, allocations: 16.75 kB / 448.7 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.1169, allocations: 27.94 kB / 448.7 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.1173, allocations: 235.2 kB / 448.9 MB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1173, allocations: 0 / 448.9 MB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.1173, allocations: 4 kB / 448.9 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1173, allocations: 4 kB / 448.9 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004567/0.1178, allocations: 265.6 kB / 449.2 MB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000883/0.1187, allocations: 0.6118 MB / 449.8 MB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.119, allocations: 110.5 kB / 449.9 MB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.1191, allocations: 48.94 kB / 449.9 MB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.1191, allocations: 4 kB / 450 MB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.1192, allocations: 30.56 kB / 450 MB, free: 5.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.1192, allocations: 0 / 450 MB, free: 5.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005247/0.1197, allocations: 193.2 kB / 450.2 MB, free: 5.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.1197, allocations: 51.41 kB / 450.2 MB, free: 5.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.12, allocations: 266.9 kB / 450.5 MB, free: 5.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.12, allocations: 29.7 kB / 450.5 MB, free: 5.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.831e-05/0.1201, allocations: 175.3 kB / 450.7 MB, free: 5.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.1201, allocations: 27.64 kB / 450.7 MB, free: 5.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.1202, allocations: 25.7 kB / 450.7 MB, free: 5.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1203, allocations: 342.8 kB / 451.1 MB, free: 4.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.1205, allocations: 51.91 kB / 451.1 MB, free: 4.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.1207, allocations: 156.8 kB / 451.3 MB, free: 4.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.121, allocations: 220.7 kB / 451.5 MB, free: 4.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.121, allocations: 0 / 451.5 MB, free: 4.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000458/0.1215, allocations: 249.4 kB / 451.7 MB, free: 4.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1215, allocations: 8 kB / 451.7 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1215, allocations: 4 kB / 451.7 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1216, allocations: 7.984 kB / 451.8 MB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.1219, allocations: 87.91 kB / 451.8 MB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006712/0.1226, allocations: 1.223 MB / 453.1 MB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.1228, allocations: 39.67 kB / 453.1 MB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.1228, allocations: 12 kB / 453.1 MB, free: 2.602 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.0001197/0.123, allocations: 133.7 kB / 453.2 MB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.123, allocations: 23.72 kB / 453.3 MB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/0.1234, allocations: 179.8 kB / 453.4 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1235, allocations: 3.938 kB / 453.4 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1235, allocations: 0 / 453.4 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1235, allocations: 4 kB / 453.4 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006233/0.1241, allocations: 464 kB / 453.9 MB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1241, allocations: 0 / 453.9 MB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.1244, allocations: 63.97 kB / 454 MB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1244, allocations: 0 / 454 MB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1244, allocations: 4 kB / 454 MB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006124/0.125, allocations: 1.211 MB / 455.2 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.125, allocations: 4 kB / 455.2 MB, free: 416 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.1254, allocations: 276.9 kB / 455.5 MB, free: 116 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.1255, allocations: 92.83 kB / 455.5 MB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.1255, allocations: 4 kB / 455.5 MB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1703/0.2958, allocations: 7.297 kB / 455.6 MB, free: 46.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.2959, allocations: 11.61 kB / 455.6 MB, free: 46.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.2959, allocations: 3.594 kB / 455.6 MB, free: 46.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.2961, allocations: 191.9 kB / 455.8 MB, free: 46.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2961, allocations: 0 / 455.8 MB, free: 46.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003813/0.2965, allocations: 68.59 kB / 455.8 MB, free: 46.01 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.0006348/0.2972, allocations: 0.8336 MB / 456.7 MB, free: 45.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005106/0.2977, allocations: 178.6 kB / 456.8 MB, free: 45.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2977, allocations: 0 / 456.8 MB, free: 45.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.298, allocations: 93.92 kB / 456.9 MB, free: 45.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.2983, allocations: 24.89 kB / 456.9 MB, free: 45.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.3007, allocations: 2.667 MB / 459.6 MB, free: 43.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.3008, allocations: 0.7337 MB / 460.3 MB, free: 43.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.383e-05/0.3009, allocations: 24.36 kB / 460.4 MB, free: 43.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.301, allocations: 63.7 kB / 460.4 MB, free: 43.04 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.301, allocations: 1.531 kB / 460.4 MB, free: 43.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.3277, allocations: 5.636 MB / 466.1 MB, free: 42.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.3279, allocations: 289 kB / 466.4 MB, free: 42.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.11, allocations: 4 kB / 466.4 MB, free: 42.18 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