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.001103/0.001103, allocations: 106.1 kB / 15.98 MB, free: 6.348 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.001269/0.001269, allocations: 197.7 kB / 16.91 MB, free: 6.191 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.558/1.558, allocations: 205.1 MB / 222.8 MB, free: 4.91 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.4303/0.4303, allocations: 43.5 MB / 313.6 MB, free: 8.09 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.002245/0.002245, allocations: 63.91 kB / 382.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1327, allocations: 57.78 MB / 440.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003492/0.1362, allocations: 2.245 MB / 442.4 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.1379, allocations: 1.095 MB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.1381, allocations: 4 kB / 443.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.1384, allocations: 79.5 kB / 443.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.1389, allocations: 63.47 kB / 443.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.1392, allocations: 115.6 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.1395, allocations: 174.8 kB / 443.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.901e-05/0.1396, allocations: 20.39 kB / 443.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.1398, allocations: 71.58 kB / 444 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.1399, allocations: 83.5 kB / 444.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1399, allocations: 8 kB / 444.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.1403, allocations: 263.6 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.1404, allocations: 27.8 kB / 444.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.7e-05/0.1405, allocations: 83.34 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003805/0.1409, allocations: 330.7 kB / 444.8 MB, free: 9.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1409, allocations: 0 / 444.8 MB, free: 9.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1409, allocations: 0 / 444.8 MB, free: 9.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1409, allocations: 0 / 444.8 MB, free: 9.746 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.0005648/0.1415, allocations: 0.4951 MB / 445.3 MB, free: 9.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1416, allocations: 8.031 kB / 445.3 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.614e-05/0.1416, allocations: 62.67 kB / 445.3 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.1417, allocations: 28.66 kB / 445.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1419, allocations: 215.8 kB / 445.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.1419, allocations: 24.75 kB / 445.6 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.1419, allocations: 23.94 kB / 445.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.1423, allocations: 227.2 kB / 445.8 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1423, allocations: 0 / 445.8 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.1423, allocations: 7.984 kB / 445.8 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1424, allocations: 11.94 kB / 445.9 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/0.1428, allocations: 253.5 kB / 446.1 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009204/0.1437, allocations: 0.6118 MB / 446.7 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.144, allocations: 94.56 kB / 446.8 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.1441, allocations: 48.98 kB / 446.9 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.1441, allocations: 3.984 kB / 446.9 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.1442, allocations: 38.5 kB / 446.9 MB, free: 7.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.1442, allocations: 0 / 446.9 MB, free: 7.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000486/0.1447, allocations: 165.3 kB / 447.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.1447, allocations: 59.41 kB / 447.1 MB, free: 7.203 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.1449, allocations: 263 kB / 447.4 MB, free: 6.938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.145, allocations: 29.7 kB / 447.4 MB, free: 6.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1451, allocations: 171.3 kB / 447.6 MB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.1451, allocations: 31.55 kB / 447.6 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.1452, allocations: 49.61 kB / 447.6 MB, free: 6.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1453, allocations: 338.8 kB / 448 MB, free: 6.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1454, allocations: 51.97 kB / 448 MB, free: 6.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.1456, allocations: 140.8 kB / 448.2 MB, free: 6.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.146, allocations: 220.5 kB / 448.4 MB, free: 5.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.146, allocations: 4 kB / 448.4 MB, free: 5.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004249/0.1464, allocations: 237 kB / 448.6 MB, free: 5.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1464, allocations: 4.438 kB / 448.6 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1464, allocations: 8 kB / 448.6 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1465, allocations: 8 kB / 448.6 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.1469, allocations: 87.89 kB / 448.7 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006418/0.1475, allocations: 1.207 MB / 449.9 MB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.1477, allocations: 47.64 kB / 450 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.1477, allocations: 8 kB / 450 MB, free: 4.152 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.0001137/0.1479, allocations: 137.7 kB / 450.1 MB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.1479, allocations: 23.72 kB / 450.1 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.1483, allocations: 171.6 kB / 450.3 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1483, allocations: 96 / 450.3 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1483, allocations: 3.938 kB / 450.3 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1483, allocations: 0 / 450.3 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.1489, allocations: 456 kB / 450.8 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1489, allocations: 0 / 450.8 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.1492, allocations: 51.98 kB / 450.8 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.1492, allocations: 3.984 kB / 450.8 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1492, allocations: 15.94 kB / 450.8 MB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005402/0.1498, allocations: 1.211 MB / 452 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1498, allocations: 0 / 452 MB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.1501, allocations: 252.9 kB / 452.3 MB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.1502, allocations: 96.81 kB / 452.4 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.1502, allocations: 0 / 452.4 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.1504, allocations: 19.92 kB / 452.4 MB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.1504, allocations: 4 kB / 452.4 MB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1504, allocations: 4 kB / 452.4 MB, free: 1.562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.1506, allocations: 186 kB / 452.6 MB, free: 1.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1506, allocations: 0 / 452.6 MB, free: 1.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003619/0.151, allocations: 67.94 kB / 452.7 MB, free: 1.316 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.0007039/0.1517, allocations: 0.8308 MB / 453.5 MB, free: 460 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004891/0.1522, allocations: 171.8 kB / 453.7 MB, free: 288 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1522, allocations: 0 / 453.7 MB, free: 288 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.1525, allocations: 83.89 kB / 453.7 MB, free: 204 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.1529, allocations: 42.14 kB / 453.8 MB, free: 160 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1858/0.3387, allocations: 2.606 MB / 456.4 MB, free: 47.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.339, allocations: 0.733 MB / 457.1 MB, free: 46.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.3391, allocations: 19.72 kB / 457.1 MB, free: 46.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.611e-05/0.3392, allocations: 62.05 kB / 457.2 MB, free: 46.91 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.3392, allocations: 0 / 457.2 MB, free: 46.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.195/1.534, allocations: 5.882 MB / 463.1 MB, free: 46.4 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/1.535, allocations: 275.3 kB / 463.3 MB, free: 46.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/3.322, allocations: 4 kB / 463.3 MB, free: 46.02 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