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_roundTube.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_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.001124/0.001124, allocations: 108.3 kB / 17.21 MB, free: 6.289 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.001193/0.001193, allocations: 194 kB / 18.12 MB, free: 5.383 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.301/1.301, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.2025/0.2025, allocations: 44.18 MB / 336.1 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.06 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1213, allocations: 60.82 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003611/0.1249, allocations: 2.155 MB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.1277, allocations: 1.753 MB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.1279, allocations: 0 / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.1283, allocations: 87.5 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.1287, allocations: 55.55 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1297, allocations: 275.1 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.13, allocations: 163 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.818e-05/0.13, allocations: 12.31 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1302, allocations: 55.61 kB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1303, allocations: 59.66 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.1303, allocations: 4 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.1316, allocations: 0.7606 MB / 474 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.551e-05/0.1317, allocations: 31.78 kB / 474 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.1318, allocations: 63.5 kB / 474.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008155/0.1326, allocations: 0.5647 MB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1326, allocations: 0 / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1327, allocations: 0 / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.872e-06/0.1327, allocations: 0 / 474.7 MB, free: 8.676 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007718/0.1334, allocations: 0.5069 MB / 475.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1335, allocations: 8.031 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.559e-05/0.1336, allocations: 62.72 kB / 475.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.1336, allocations: 28.59 kB / 475.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.1339, allocations: 212.2 kB / 475.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1339, allocations: 12.44 kB / 475.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.1339, allocations: 24 kB / 475.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.1344, allocations: 263.5 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1344, allocations: 0 / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.1344, allocations: 11.98 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1344, allocations: 4 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003256/0.1348, allocations: 160.2 kB / 475.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.1358, allocations: 0.908 MB / 476.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.136, allocations: 62.55 kB / 476.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.1362, allocations: 32.89 kB / 476.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.1362, allocations: 4 kB / 477 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.1362, allocations: 42.55 kB / 477 MB, free: 6.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.1363, allocations: 0 / 477 MB, free: 6.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004696/0.1367, allocations: 133.3 kB / 477.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.1368, allocations: 51.41 kB / 477.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.1371, allocations: 270.9 kB / 477.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1371, allocations: 25.7 kB / 477.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1372, allocations: 183 kB / 477.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.1373, allocations: 23.66 kB / 477.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.537e-05/0.1373, allocations: 49.7 kB / 477.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1375, allocations: 330.8 kB / 478 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.1376, allocations: 52.14 kB / 478.1 MB, free: 5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.1379, allocations: 180.2 kB / 478.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.1383, allocations: 263.4 kB / 478.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1383, allocations: 0 / 478.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004897/0.1388, allocations: 256.8 kB / 478.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1388, allocations: 8 kB / 478.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/0.1388, allocations: 16 kB / 478.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1389, allocations: 12.62 kB / 478.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.139, allocations: 47.91 kB / 478.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.1391, allocations: 11.94 kB / 478.9 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.1392, allocations: 39.59 kB / 478.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.1393, allocations: 12 kB / 478.9 MB, free: 4.023 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.1394, allocations: 141.6 kB / 479.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.1394, allocations: 19.72 kB / 479.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/0.1398, allocations: 134.9 kB / 479.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1399, allocations: 3.938 kB / 479.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1399, allocations: 4 kB / 479.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1399, allocations: 0 / 479.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.1401, allocations: 233.5 kB / 479.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/0.1401, allocations: 12.19 kB / 479.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.1402, allocations: 15.92 kB / 479.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1402, allocations: 0 / 479.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1402, allocations: 4 kB / 479.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1402, allocations: 3.938 kB / 479.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1402, allocations: 0 / 479.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.1406, allocations: 207.2 kB / 479.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.1406, allocations: 92.92 kB / 479.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.1407, allocations: 0 / 479.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1408, allocations: 11.92 kB / 479.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.1408, allocations: 4 kB / 479.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1409, allocations: 4 kB / 479.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.141, allocations: 182 kB / 480 MB, free: 2.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.141, allocations: 0 / 480 MB, free: 2.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000483/0.1415, allocations: 99.89 kB / 480.1 MB, free: 2.77 MB / 350.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009328/0.1425, allocations: 0.83 MB / 480.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004782/0.143, allocations: 200.2 kB / 481.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.143, allocations: 0 / 481.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.1432, allocations: 99.56 kB / 481.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1436, allocations: 28.77 kB / 481.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.147, allocations: 2.544 MB / 483.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1473, allocations: 0.7323 MB / 484.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.653e-05/0.1474, allocations: 25.94 kB / 484.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.06e-05/0.1475, allocations: 59.42 kB / 484.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1475, allocations: 3.938 kB / 484.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.1718, allocations: 8.429 MB / 493 MB, free: 5.773 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/0.1721, allocations: 283.8 kB / 493.3 MB, free: 5.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/2.718, allocations: 0 / 493.3 MB, free: 5.391 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches