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_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 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_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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.001264/0.001264, allocations: 114.5 kB / 16.4 MB, free: 6.367 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.001272/0.001272, allocations: 196.8 kB / 17.34 MB, free: 5.844 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.379/1.379, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2093/0.2093, allocations: 43.51 MB / 314.1 MB, free: 468 kB / 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.003047/0.003047, allocations: 63.91 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1476, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.005885/0.1535, allocations: 2.676 MB / 0.4901 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003574/0.1571, allocations: 1.469 MB / 0.4915 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.1574, allocations: 0 / 0.4915 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.1579, allocations: 111.2 kB / 0.4916 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005424/0.1584, allocations: 130.9 kB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008571/0.1593, allocations: 259.1 kB / 0.492 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.1598, allocations: 278.1 kB / 0.4922 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.03e-05/0.1599, allocations: 32.7 kB / 0.4923 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.1601, allocations: 99.28 kB / 0.4924 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.1603, allocations: 127.2 kB / 0.4925 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.1604, allocations: 8 kB / 0.4925 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.1618, allocations: 0.5812 MB / 0.4931 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1619, allocations: 47.59 kB / 0.4931 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.1621, allocations: 131 kB / 0.4932 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.1632, allocations: 0.5445 MB / 0.4938 GB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.225e-05/0.1632, allocations: 0 / 0.4938 GB, free: 5.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1632, allocations: 0 / 0.4938 GB, free: 5.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1632, allocations: 0 / 0.4938 GB, free: 5.75 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00114/0.1644, allocations: 0.635 MB / 0.4944 GB, free: 5.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.1644, allocations: 8.031 kB / 0.4944 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.1646, allocations: 74.7 kB / 0.4945 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.1647, allocations: 44.66 kB / 0.4945 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.1651, allocations: 247.6 kB / 0.4947 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.1651, allocations: 29.38 kB / 0.4948 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.1652, allocations: 43.88 kB / 0.4948 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.1663, allocations: 0.5687 MB / 0.4954 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.1663, allocations: 11.88 kB / 0.4954 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.1664, allocations: 20 kB / 0.4954 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.1664, allocations: 12 kB / 0.4954 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008345/0.1673, allocations: 329.1 kB / 0.4957 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004103/0.1714, allocations: 4.051 MB / 0.4997 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.1718, allocations: 90.55 kB / 0.4998 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.172, allocations: 40.89 kB / 0.4998 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.1721, allocations: 0 / 0.4998 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.1721, allocations: 34.56 kB / 0.4998 GB, free: 15.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.1721, allocations: 0 / 0.4998 GB, free: 15.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007901/0.1729, allocations: 177.4 kB / 0.5 GB, free: 14.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.173, allocations: 51.41 kB / 0.5001 GB, free: 14.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006415/0.1737, allocations: 413.7 kB / 0.5004 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.1737, allocations: 29.7 kB / 0.5005 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.174, allocations: 255.5 kB / 0.5007 GB, free: 14.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.174, allocations: 31.78 kB / 0.5007 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.1742, allocations: 69.94 kB / 0.5008 GB, free: 14.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.1744, allocations: 350.7 kB / 0.5011 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.1747, allocations: 64.55 kB / 0.5012 GB, free: 13.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.1752, allocations: 262.4 kB / 0.5015 GB, free: 13.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007997/0.176, allocations: 351.8 kB / 0.5018 GB, free: 12.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1761, allocations: 7.938 kB / 0.5018 GB, free: 12.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001018/0.1771, allocations: 349.6 kB / 0.5021 GB, free: 12.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.1771, allocations: 11.98 kB / 0.5021 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.1772, allocations: 8 kB / 0.5022 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.1772, allocations: 12.03 kB / 0.5022 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.1779, allocations: 107.9 kB / 0.5023 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.179, allocations: 1.215 MB / 0.5035 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.1795, allocations: 71.69 kB / 0.5035 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.1796, allocations: 20 kB / 0.5035 GB, free: 10.97 MB / 398.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.0002349/0.1798, allocations: 153.5 kB / 0.5037 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.1799, allocations: 43.66 kB / 0.5037 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006763/0.1806, allocations: 176.9 kB / 0.5039 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1807, allocations: 0 / 0.5039 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1807, allocations: 0 / 0.5039 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1807, allocations: 4 kB / 0.5039 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.1812, allocations: 281.5 kB / 0.5042 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1812, allocations: 0 / 0.5042 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.1816, allocations: 51.92 kB / 0.5042 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1816, allocations: 4 kB / 0.5042 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.1817, allocations: 7.984 kB / 0.5042 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.1827, allocations: 1.199 MB / 0.5054 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1828, allocations: 192 / 0.5054 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005461/0.1833, allocations: 243.2 kB / 0.5056 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.1834, allocations: 116.7 kB / 0.5057 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.1835, allocations: 3.938 kB / 0.5058 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.1836, allocations: 4 kB / 0.5058 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.1837, allocations: 7.984 kB / 0.5058 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.1837, allocations: 11.94 kB / 0.5058 GB, free: 8.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002918/0.184, allocations: 275.1 kB / 0.506 GB, free: 8.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.184, allocations: 0 / 0.506 GB, free: 8.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005171/0.1846, allocations: 111.9 kB / 0.5061 GB, free: 8.152 MB / 398.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.0009699/0.1855, allocations: 0.8414 MB / 0.507 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006019/0.1861, allocations: 213.7 kB / 0.5072 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1862, allocations: 0 / 0.5072 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.1864, allocations: 75.94 kB / 0.5072 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1868, allocations: 41.95 kB / 0.5073 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.191, allocations: 3.402 MB / 0.5106 GB, free: 3.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.1914, allocations: 0.7678 MB / 0.5114 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.1915, allocations: 46.89 kB / 0.5114 GB, free: 2.449 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.1917, allocations: 103.4 kB / 0.5115 GB, free: 2.352 MB / 398.1 MB Notification: Performance of SimCode: time 3.396e-06/0.1917, allocations: 0 / 0.5115 GB, free: 2.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03634/0.228, allocations: 9.939 MB / 0.5212 GB, free: 8.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.32, allocations: 8.438 kB / 0.5212 GB, free: 8.402 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches