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.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.001516/0.001516, allocations: 111.4 kB / 16.41 MB, free: 6.445 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.001541/0.001542, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.568/1.568, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.2191/0.2191, allocations: 43.52 MB / 314.1 MB, free: 464 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.001988/0.001988, allocations: 71.89 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1165, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003338/0.1199, allocations: 2.111 MB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.1219, allocations: 1.418 MB / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.816e-05/0.122, allocations: 0 / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.1223, allocations: 91.38 kB / 0.491 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.1225, allocations: 63.41 kB / 0.491 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.1231, allocations: 211.1 kB / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.1233, allocations: 147 kB / 0.4914 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.716e-05/0.1234, allocations: 20.28 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.1235, allocations: 59.66 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1236, allocations: 63.53 kB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1237, allocations: 4 kB / 0.4915 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006652/0.1243, allocations: 431.3 kB / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.689e-05/0.1244, allocations: 27.86 kB / 0.492 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.317e-05/0.1245, allocations: 71.42 kB / 0.492 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000622/0.1251, allocations: 434.3 kB / 0.4924 GB, free: 7.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1251, allocations: 0 / 0.4924 GB, free: 7.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1251, allocations: 0 / 0.4924 GB, free: 7.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1251, allocations: 0 / 0.4924 GB, free: 7.121 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007041/0.1259, allocations: 0.502 MB / 0.4929 GB, free: 6.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1259, allocations: 8.031 kB / 0.4929 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.638e-05/0.126, allocations: 54.73 kB / 0.493 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.126, allocations: 24.8 kB / 0.493 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1263, allocations: 215.9 kB / 0.4932 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.1263, allocations: 16.38 kB / 0.4932 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.1263, allocations: 19.94 kB / 0.4932 GB, free: 6.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.1267, allocations: 202.7 kB / 0.4934 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1268, allocations: 3.938 kB / 0.4934 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1268, allocations: 4 kB / 0.4934 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1268, allocations: 8 kB / 0.4935 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.1271, allocations: 156.2 kB / 0.4936 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009173/0.1281, allocations: 0.5795 MB / 0.4942 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.1283, allocations: 58.55 kB / 0.4942 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.1284, allocations: 28.95 kB / 0.4943 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.1284, allocations: 4 kB / 0.4943 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.1285, allocations: 30.56 kB / 0.4943 GB, free: 5.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.1285, allocations: 0 / 0.4943 GB, free: 5.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004536/0.1289, allocations: 137.5 kB / 0.4944 GB, free: 4.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.129, allocations: 51.41 kB / 0.4945 GB, free: 4.844 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.1293, allocations: 258.6 kB / 0.4947 GB, free: 4.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.1293, allocations: 29.7 kB / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1294, allocations: 171.9 kB / 0.4949 GB, free: 4.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.1294, allocations: 15.91 kB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.1295, allocations: 41.66 kB / 0.495 GB, free: 4.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1297, allocations: 334.8 kB / 0.4953 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1298, allocations: 43.88 kB / 0.4953 GB, free: 3.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.13, allocations: 128.8 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.1303, allocations: 188.6 kB / 0.4956 GB, free: 3.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1303, allocations: 0 / 0.4956 GB, free: 3.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004285/0.1308, allocations: 201.4 kB / 0.4958 GB, free: 3.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1308, allocations: 10.66 kB / 0.4958 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.087e-05/0.1308, allocations: 16 kB / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1309, allocations: 4.438 kB / 0.4958 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.131, allocations: 39.91 kB / 0.4959 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.131, allocations: 4 kB / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1312, allocations: 31.78 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.1312, allocations: 8 kB / 0.4959 GB, free: 3.215 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 (17): * Single equations (assignments): 15 * 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.0001238/0.1313, allocations: 141.6 kB / 0.4961 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.1314, allocations: 19.86 kB / 0.4961 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.1318, allocations: 138.9 kB / 0.4962 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1318, allocations: 0 / 0.4962 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1318, allocations: 0 / 0.4962 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1318, allocations: 0 / 0.4962 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.1321, allocations: 225.5 kB / 0.4964 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.812e-05/0.1322, allocations: 12 kB / 0.4964 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.1322, allocations: 11.98 kB / 0.4964 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.1323, allocations: 4 kB / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1323, allocations: 3.938 kB / 0.4965 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1323, allocations: 0 / 0.4965 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1323, allocations: 0 / 0.4965 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.1327, allocations: 203.5 kB / 0.4967 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.68e-05/0.1328, allocations: 108.9 kB / 0.4968 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.1329, allocations: 4 kB / 0.4968 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.133, allocations: 7.984 kB / 0.4968 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.1331, allocations: 4 kB / 0.4968 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.1331, allocations: 7.938 kB / 0.4968 GB, free: 2.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.1334, allocations: 182 kB / 0.497 GB, free: 2.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1334, allocations: 0 / 0.497 GB, free: 2.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005944/0.134, allocations: 79.7 kB / 0.497 GB, free: 1.984 MB / 382.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.001147/0.1351, allocations: 0.8136 MB / 0.4978 GB, free: 1.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005894/0.1357, allocations: 172.1 kB / 0.498 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1358, allocations: 0 / 0.498 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.1361, allocations: 95.38 kB / 0.4981 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.1366, allocations: 20.83 kB / 0.4981 GB, free: 0.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.1407, allocations: 2.377 MB / 0.5004 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.1411, allocations: 0.732 MB / 0.5011 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.536e-05/0.1412, allocations: 17.55 kB / 0.5012 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.1413, allocations: 55.42 kB / 0.5012 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.264e-06/0.1413, allocations: 0 / 0.5012 GB, free: 13.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.1736, allocations: 6.777 MB / 0.5078 GB, free: 6.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.79, allocations: 8.375 kB / 0.5078 GB, free: 6.684 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches