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_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_roundTube_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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.001307/0.001307, allocations: 109.4 kB / 17.21 MB, free: 6.273 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.001537/0.001537, allocations: 194 kB / 18.12 MB, free: 5.363 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.36/1.36, allocations: 222.9 MB / 241.8 MB, free: 15.34 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.237/0.237, allocations: 44.17 MB / 336.1 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001334, allocations: 64.89 kB / 407.8 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1277, allocations: 60.82 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003955/0.1317, allocations: 2.717 MB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.1342, allocations: 1.519 MB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.1344, allocations: 0 / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.1348, allocations: 107.4 kB / 473 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004018/0.1352, allocations: 115 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.1357, allocations: 199.4 kB / 473.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.1361, allocations: 286 kB / 473.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.727e-05/0.1361, allocations: 32.66 kB / 473.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1363, allocations: 91.41 kB / 473.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.1364, allocations: 123.2 kB / 473.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.1365, allocations: 8 kB / 473.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009265/0.1374, allocations: 0.589 MB / 474.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.007e-05/0.1375, allocations: 35.72 kB / 474.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1376, allocations: 131 kB / 474.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008756/0.1385, allocations: 0.5332 MB / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1385, allocations: 0 / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1385, allocations: 0 / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1386, allocations: 0 / 475.1 MB, free: 8.203 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008083/0.1394, allocations: 0.6162 MB / 475.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1394, allocations: 15.97 kB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.12e-05/0.1395, allocations: 74.72 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.748e-05/0.1396, allocations: 44.38 kB / 475.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1398, allocations: 239.7 kB / 476.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.1399, allocations: 29.31 kB / 476.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.1399, allocations: 39.94 kB / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006746/0.1406, allocations: 0.5765 MB / 476.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1406, allocations: 7.938 kB / 476.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.1406, allocations: 12 kB / 476.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.1407, allocations: 12 kB / 476.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005376/0.1412, allocations: 341 kB / 477.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.1437, allocations: 4.043 MB / 481.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.144, allocations: 94.59 kB / 481.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.1441, allocations: 40.83 kB / 481.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.1441, allocations: 3.984 kB / 481.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1442, allocations: 30.56 kB / 481.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.1442, allocations: 4 kB / 481.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005282/0.1447, allocations: 161.2 kB / 481.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.1448, allocations: 55.41 kB / 481.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.1452, allocations: 413.7 kB / 481.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1452, allocations: 25.7 kB / 482 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.1454, allocations: 254.9 kB / 482.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.1454, allocations: 27.64 kB / 482.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.91e-05/0.1455, allocations: 73.92 kB / 482.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1457, allocations: 350.7 kB / 482.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.1458, allocations: 64.61 kB / 482.7 MB, free: 104 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.1461, allocations: 258.3 kB / 483 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/0.1466, allocations: 364.1 kB / 483.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1466, allocations: 0 / 483.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006375/0.1473, allocations: 348.5 kB / 483.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1473, allocations: 8 kB / 483.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.1473, allocations: 8.906 kB / 483.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1474, allocations: 8 kB / 483.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000492/0.1479, allocations: 115.8 kB / 483.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007163/0.1486, allocations: 1.211 MB / 485 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.1489, allocations: 71.27 kB / 485.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.1489, allocations: 20.19 kB / 485.1 MB, free: 13.46 MB / 366.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.0001576/0.1491, allocations: 153.7 kB / 485.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.1492, allocations: 39.47 kB / 485.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/0.1497, allocations: 176.8 kB / 485.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1497, allocations: 3.938 kB / 485.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1497, allocations: 0 / 485.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1497, allocations: 0 / 485.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.15, allocations: 281.4 kB / 485.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1501, allocations: 0 / 485.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.1504, allocations: 51.97 kB / 485.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1504, allocations: 0 / 485.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.1504, allocations: 12 kB / 485.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006506/0.1511, allocations: 1.203 MB / 487 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1511, allocations: 0 / 487 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003676/0.1515, allocations: 239.2 kB / 487.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.486e-05/0.1516, allocations: 108.6 kB / 487.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.1516, allocations: 7.938 kB / 487.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.1518, allocations: 7.984 kB / 487.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.1519, allocations: 11.92 kB / 487.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1519, allocations: 4 kB / 487.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002965/0.1522, allocations: 279.2 kB / 487.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1522, allocations: 0 / 487.6 MB, free: 10.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005658/0.1528, allocations: 104 kB / 487.7 MB, free: 10.66 MB / 366.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.0009794/0.1537, allocations: 0.8487 MB / 488.6 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005977/0.1544, allocations: 200.1 kB / 488.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1544, allocations: 0 / 488.8 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.1547, allocations: 77.86 kB / 488.9 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.1552, allocations: 45.89 kB / 488.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.1595, allocations: 3.553 MB / 492.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.1598, allocations: 0.7678 MB / 493.2 MB, free: 4.855 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.16, allocations: 38.95 kB / 493.3 MB, free: 4.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.1601, allocations: 103.4 kB / 493.4 MB, free: 4.715 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1601, allocations: 4 kB / 493.4 MB, free: 4.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03399/0.1941, allocations: 9.454 MB / 0.491 GB, free: 11.5 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.1944, allocations: 288.7 kB / 0.4913 GB, free: 11.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/2.675, allocations: 1.406 kB / 0.4913 GB, free: 11.11 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches