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_roundTube_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_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 102.4 kB / 15.98 MB, free: 6.352 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.002027/0.002027, allocations: 196.4 kB / 16.91 MB, free: 6.195 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.621/1.621, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.3016/0.3016, allocations: 43.49 MB / 313.6 MB, free: 8.582 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.001456/0.001456, allocations: 63.91 kB / 382.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1015, allocations: 57.79 MB / 440.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003131/0.1047, allocations: 2.721 MB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1064, allocations: 1.485 MB / 444.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.1065, allocations: 4 kB / 444.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.1067, allocations: 107.4 kB / 444.4 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.107, allocations: 111 kB / 444.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.1074, allocations: 227.4 kB / 444.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.1076, allocations: 266.2 kB / 445 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.1077, allocations: 32.7 kB / 445.1 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.596e-05/0.1078, allocations: 99.28 kB / 445.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.1079, allocations: 123.2 kB / 445.3 MB, free: 9.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1079, allocations: 8 kB / 445.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006661/0.1086, allocations: 0.5812 MB / 445.9 MB, free: 8.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.1086, allocations: 47.58 kB / 445.9 MB, free: 8.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.143e-05/0.1087, allocations: 135 kB / 446 MB, free: 8.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.1092, allocations: 0.5332 MB / 446.6 MB, free: 8.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1092, allocations: 0 / 446.6 MB, free: 8.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1092, allocations: 0 / 446.6 MB, free: 8.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.1092, allocations: 0 / 446.6 MB, free: 8.113 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.000595/0.1098, allocations: 0.6239 MB / 447.2 MB, free: 7.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.1099, allocations: 8.031 kB / 447.2 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.617e-05/0.1099, allocations: 78.72 kB / 447.3 MB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.11, allocations: 40.47 kB / 447.3 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.1102, allocations: 251.2 kB / 447.6 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1102, allocations: 29.38 kB / 447.6 MB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.1103, allocations: 39.94 kB / 447.6 MB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005753/0.1108, allocations: 0.5763 MB / 448.2 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1109, allocations: 7.938 kB / 448.2 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.1109, allocations: 16 kB / 448.2 MB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.1109, allocations: 12 kB / 448.3 MB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.1113, allocations: 337 kB / 448.6 MB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.1133, allocations: 4.039 MB / 452.6 MB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.1135, allocations: 94.45 kB / 452.7 MB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.1136, allocations: 40.97 kB / 452.8 MB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1137, allocations: 7.969 kB / 452.8 MB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.1137, allocations: 38.5 kB / 452.8 MB, free: 1.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1137, allocations: 0 / 452.8 MB, free: 1.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004369/0.1141, allocations: 161.2 kB / 453 MB, free: 1.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.1142, allocations: 55.34 kB / 453 MB, free: 1.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.1146, allocations: 417.7 kB / 453.4 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1146, allocations: 25.7 kB / 453.4 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1148, allocations: 251 kB / 453.7 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1148, allocations: 27.64 kB / 453.7 MB, free: 492 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.684e-05/0.1149, allocations: 69.92 kB / 453.8 MB, free: 416 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.115, allocations: 350.7 kB / 454.1 MB, free: 56 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1846/0.2996, allocations: 57.77 kB / 454.2 MB, free: 49.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.2999, allocations: 264.5 kB / 454.4 MB, free: 49.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.3003, allocations: 347.5 kB / 454.8 MB, free: 48.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3003, allocations: 2.969 kB / 454.8 MB, free: 48.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006107/0.3009, allocations: 356.6 kB / 455.1 MB, free: 48.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.301, allocations: 8.375 kB / 455.1 MB, free: 48.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.301, allocations: 7.969 kB / 455.1 MB, free: 48.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.301, allocations: 9.156 kB / 455.2 MB, free: 48.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.3014, allocations: 111.9 kB / 455.3 MB, free: 48.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003964/0.3018, allocations: 1.216 MB / 456.5 MB, free: 47.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.3021, allocations: 65.55 kB / 456.5 MB, free: 47.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.3021, allocations: 20.12 kB / 456.6 MB, free: 47.65 MB / 382.1 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 (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.000109/0.3023, allocations: 156.1 kB / 456.7 MB, free: 47.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.3023, allocations: 38.16 kB / 456.8 MB, free: 47.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.3027, allocations: 175.1 kB / 456.9 MB, free: 47.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3027, allocations: 0 / 456.9 MB, free: 47.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.3027, allocations: 2.594 kB / 456.9 MB, free: 47.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3027, allocations: 0 / 456.9 MB, free: 47.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.3029, allocations: 277.9 kB / 457.2 MB, free: 47.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3029, allocations: 2.781 kB / 457.2 MB, free: 47.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.3032, allocations: 55.38 kB / 457.3 MB, free: 47.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3032, allocations: 6.312 kB / 457.3 MB, free: 47.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3032, allocations: 4.5 kB / 457.3 MB, free: 47.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003134/0.3035, allocations: 1.205 MB / 458.5 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3035, allocations: 2.844 kB / 458.5 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.3038, allocations: 237.2 kB / 458.7 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.3039, allocations: 114.3 kB / 458.8 MB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.3039, allocations: 2.875 kB / 458.8 MB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.3041, allocations: 6.25 kB / 458.8 MB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.3041, allocations: 9.094 kB / 458.8 MB, free: 45.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.3041, allocations: 3.062 kB / 458.8 MB, free: 45.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.3043, allocations: 271.9 kB / 459.1 MB, free: 45.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3043, allocations: 3.656 kB / 459.1 MB, free: 45.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004409/0.3047, allocations: 115.8 kB / 459.2 MB, free: 45.76 MB / 382.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 (7): * Single equations (assignments): 5 * 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.0006323/0.3054, allocations: 0.8447 MB / 460.1 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004896/0.3059, allocations: 214.3 kB / 460.3 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3059, allocations: 0 / 460.3 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.3061, allocations: 75.8 kB / 460.3 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.3065, allocations: 41.11 kB / 460.4 MB, free: 45.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.3094, allocations: 3.551 MB / 463.9 MB, free: 42.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.3095, allocations: 0.7715 MB / 464.7 MB, free: 42.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.3096, allocations: 33.91 kB / 464.7 MB, free: 42.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.417e-05/0.3097, allocations: 107.7 kB / 464.9 MB, free: 42.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3097, allocations: 0 / 464.9 MB, free: 42.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6164/0.9262, allocations: 9.625 MB / 474.5 MB, free: 41.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.9264, allocations: 283.8 kB / 474.8 MB, free: 41.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/3.001, allocations: 3.906 kB / 474.8 MB, free: 41.1 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches