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.001374/0.001374, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001482/0.001482, allocations: 192 kB / 18.56 MB, free: 4.434 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.436/1.436, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2001/0.2001, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 60 kB / 408.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1251, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.005827/0.131, allocations: 2.668 MB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003038/0.1341, allocations: 1.421 MB / 473.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000399/0.1345, allocations: 4 kB / 473.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005375/0.1351, allocations: 115.2 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007255/0.1359, allocations: 134.8 kB / 473.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008213/0.1367, allocations: 255.1 kB / 474 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004589/0.1372, allocations: 282.1 kB / 474.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1373, allocations: 28.67 kB / 474.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.1375, allocations: 99.34 kB / 474.4 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002808/0.1378, allocations: 123.2 kB / 474.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.1378, allocations: 11.98 kB / 474.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.139, allocations: 0.5773 MB / 475.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.616e-05/0.1391, allocations: 43.66 kB / 475.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.1393, allocations: 131 kB / 475.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009149/0.1402, allocations: 0.5293 MB / 475.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1402, allocations: 0 / 475.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.1402, allocations: 0 / 475.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1402, allocations: 3.938 kB / 475.8 MB, free: 7.809 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.00104/0.1413, allocations: 0.624 MB / 476.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.1413, allocations: 12.03 kB / 476.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.051e-05/0.1414, allocations: 74.72 kB / 476.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.622e-05/0.1415, allocations: 40.38 kB / 476.5 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1419, allocations: 243.7 kB / 476.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.1419, allocations: 25.38 kB / 476.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/0.142, allocations: 39.94 kB / 476.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007545/0.1427, allocations: 0.5774 MB / 477.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1428, allocations: 11.94 kB / 477.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.1428, allocations: 20 kB / 477.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.1428, allocations: 12 kB / 477.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/0.1434, allocations: 329 kB / 477.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.1463, allocations: 4.047 MB / 481.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.1466, allocations: 90.53 kB / 481.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.1468, allocations: 40.95 kB / 481.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.1468, allocations: 7.938 kB / 482 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.1468, allocations: 34.56 kB / 482 MB, free: 1.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.1468, allocations: 0 / 482 MB, free: 1.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005698/0.1474, allocations: 165.2 kB / 482.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.1475, allocations: 55.41 kB / 482.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.1479, allocations: 409.7 kB / 482.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1479, allocations: 29.7 kB / 482.6 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.1481, allocations: 250.9 kB / 482.9 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.1482, allocations: 27.64 kB / 482.9 MB, free: 200 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.1483, allocations: 73.92 kB / 483 MB, free: 120 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1485, allocations: 354.7 kB / 483.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.1486, allocations: 56.61 kB / 483.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.1489, allocations: 262.4 kB / 483.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.1495, allocations: 352.2 kB / 484 MB, free: 14.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.1495, allocations: 4 kB / 484 MB, free: 14.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006349/0.1501, allocations: 349.4 kB / 484.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1501, allocations: 12 kB / 484.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1502, allocations: 11.98 kB / 484.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.1502, allocations: 12 kB / 484.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/0.1507, allocations: 107.8 kB / 484.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008685/0.1516, allocations: 1.219 MB / 485.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.1519, allocations: 63.27 kB / 485.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.1519, allocations: 24 kB / 485.8 MB, free: 13.06 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.0001841/0.1521, allocations: 150.5 kB / 485.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.1522, allocations: 39.47 kB / 486 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004854/0.1527, allocations: 169 kB / 486.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1527, allocations: 4 kB / 486.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1527, allocations: 4 kB / 486.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1527, allocations: 0 / 486.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.1532, allocations: 285.4 kB / 486.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1532, allocations: 0 / 486.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.1535, allocations: 55.97 kB / 486.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1535, allocations: 0 / 486.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.1535, allocations: 4 kB / 486.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007864/0.1543, allocations: 1.203 MB / 487.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.1544, allocations: 4.031 kB / 487.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.1548, allocations: 238.9 kB / 487.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.1549, allocations: 108.6 kB / 488 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.1549, allocations: 3.938 kB / 488 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.1551, allocations: 16.02 kB / 488 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.1552, allocations: 8 kB / 488 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1552, allocations: 7.984 kB / 488 MB, free: 10.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003418/0.1556, allocations: 267.2 kB / 488.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1556, allocations: 0 / 488.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005354/0.1561, allocations: 112 kB / 488.4 MB, free: 10.27 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.001038/0.1572, allocations: 0.8453 MB / 489.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006859/0.1579, allocations: 209.1 kB / 489.5 MB, free: 9.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.1579, allocations: 4.438 kB / 489.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.1582, allocations: 79.94 kB / 489.5 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.1587, allocations: 48.12 kB / 489.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/0.1635, allocations: 3.463 MB / 493.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.164, allocations: 0.7716 MB / 493.8 MB, free: 4.527 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.1641, allocations: 46.89 kB / 493.9 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.1643, allocations: 103.4 kB / 494 MB, free: 4.379 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1643, allocations: 0 / 494 MB, free: 4.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.1939, allocations: 9.772 MB / 0.4919 GB, free: 10.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.62, allocations: 16.03 kB / 0.492 GB, free: 10.82 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/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