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_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 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_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001523/0.001523, allocations: 107.1 kB / 17.32 MB, free: 6.008 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.001494/0.001494, allocations: 189.4 kB / 18.25 MB, free: 5.098 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.325/1.325, allocations: 222.9 MB / 241.9 MB, free: 13.67 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.2048/0.2048, allocations: 44.17 MB / 336.2 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.56 kB / 408 MB, free: 27.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1221, allocations: 60.83 MB / 468.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003619/0.1257, allocations: 2.233 MB / 471.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.1273, allocations: 1.059 MB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.1275, allocations: 0 / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.1279, allocations: 83.56 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.1282, allocations: 67.47 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.1286, allocations: 103.6 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.1288, allocations: 178.9 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.979e-05/0.1289, allocations: 16.39 kB / 472.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.129, allocations: 71.61 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.1292, allocations: 87.48 kB / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.1292, allocations: 4 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.1296, allocations: 259.6 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.1297, allocations: 35.73 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.939e-05/0.1298, allocations: 87.39 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.1303, allocations: 322.7 kB / 473.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1303, allocations: 4 kB / 473.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1303, allocations: 0 / 473.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.1303, allocations: 3.938 kB / 473.4 MB, free: 9.965 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006647/0.131, allocations: 0.4911 MB / 473.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.1311, allocations: 8.031 kB / 473.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.606e-05/0.1311, allocations: 58.72 kB / 474 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.1312, allocations: 28.66 kB / 474 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.1314, allocations: 215.6 kB / 474.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1314, allocations: 16.81 kB / 474.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.1315, allocations: 23.94 kB / 474.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.1319, allocations: 227.2 kB / 474.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1319, allocations: 0 / 474.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.132, allocations: 12 kB / 474.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.132, allocations: 7.984 kB / 474.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.1324, allocations: 249.6 kB / 474.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.1335, allocations: 0.6118 MB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.1338, allocations: 102.5 kB / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.1339, allocations: 44.98 kB / 475.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.134, allocations: 4 kB / 475.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.134, allocations: 30.56 kB / 475.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.134, allocations: 0 / 475.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005326/0.1345, allocations: 169.3 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.1346, allocations: 55.41 kB / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.1348, allocations: 270.9 kB / 476 MB, free: 7.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1349, allocations: 33.7 kB / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.329e-05/0.135, allocations: 171.3 kB / 476.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.135, allocations: 31.55 kB / 476.3 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1351, allocations: 49.61 kB / 476.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1352, allocations: 342.8 kB / 476.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.1354, allocations: 47.97 kB / 476.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.1356, allocations: 147.5 kB / 476.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.136, allocations: 212.5 kB / 477 MB, free: 6.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.136, allocations: 4 kB / 477 MB, free: 6.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004861/0.1365, allocations: 233.4 kB / 477.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1365, allocations: 10.94 kB / 477.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1365, allocations: 8 kB / 477.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.1365, allocations: 4 kB / 477.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.1369, allocations: 87.83 kB / 477.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007918/0.1377, allocations: 1.219 MB / 478.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.1379, allocations: 35.67 kB / 478.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.138, allocations: 12 kB / 478.6 MB, free: 4.395 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 (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.0001338/0.1381, allocations: 133.7 kB / 478.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.1382, allocations: 19.72 kB / 478.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004217/0.1386, allocations: 179.2 kB / 479 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1386, allocations: 0 / 479 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1386, allocations: 4 kB / 479 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1386, allocations: 0 / 479 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.1392, allocations: 459.9 kB / 479.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1392, allocations: 4 kB / 479.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.1395, allocations: 55.97 kB / 479.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1395, allocations: 0 / 479.5 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1395, allocations: 4 kB / 479.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000587/0.1401, allocations: 1.211 MB / 480.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1401, allocations: 4.031 kB / 480.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.1405, allocations: 248.9 kB / 480.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.1406, allocations: 100.8 kB / 481 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.1406, allocations: 0 / 481 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.1408, allocations: 7.984 kB / 481 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.1408, allocations: 8 kB / 481.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1408, allocations: 4 kB / 481.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.141, allocations: 186 kB / 481.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.141, allocations: 4 kB / 481.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003687/0.1414, allocations: 67.92 kB / 481.3 MB, free: 1.555 MB / 350.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.0008227/0.1422, allocations: 0.8277 MB / 482.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000538/0.1427, allocations: 171.7 kB / 482.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1428, allocations: 3.938 kB / 482.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002865/0.1431, allocations: 83.94 kB / 482.4 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.1435, allocations: 29.86 kB / 482.4 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.1468, allocations: 2.622 MB / 485 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1471, allocations: 0.7323 MB / 485.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.938e-05/0.1472, allocations: 21.95 kB / 485.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.431e-05/0.1473, allocations: 59.41 kB / 485.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1473, allocations: 0 / 485.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.1672, allocations: 5.881 MB / 491.7 MB, free: 7.148 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/0.1675, allocations: 285.6 kB / 492 MB, free: 6.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.172, allocations: 2.344 kB / 492 MB, free: 6.766 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_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/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches