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_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_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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.001144/0.001145, allocations: 105.2 kB / 16.41 MB, free: 6.484 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.001169/0.001169, allocations: 193.5 kB / 17.34 MB, free: 5.766 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.384/1.384, 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.204/0.204, allocations: 43.53 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.00151/0.00151, allocations: 75.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1199, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004207/0.1242, allocations: 2.184 MB / 0.4896 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.1262, allocations: 1.091 MB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.1264, allocations: 0 / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.1267, allocations: 95.42 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.1272, allocations: 83.33 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.1276, allocations: 123.4 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.1279, allocations: 182.8 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.907e-05/0.1279, allocations: 24.39 kB / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.1281, allocations: 71.58 kB / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.1283, allocations: 83.5 kB / 0.4913 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.1283, allocations: 8 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.1288, allocations: 263.6 kB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.796e-05/0.1289, allocations: 31.78 kB / 0.4916 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.467e-05/0.129, allocations: 75.42 kB / 0.4916 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.1296, allocations: 326.7 kB / 0.4919 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1296, allocations: 4 kB / 0.4919 GB, free: 7.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1296, allocations: 0 / 0.4919 GB, free: 7.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1296, allocations: 4 kB / 0.492 GB, free: 7.629 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007326/0.1303, allocations: 0.4951 MB / 0.4924 GB, free: 7.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.1304, allocations: 12.03 kB / 0.4924 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.56e-05/0.1305, allocations: 54.73 kB / 0.4925 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.1305, allocations: 24.66 kB / 0.4925 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.1308, allocations: 219.7 kB / 0.4927 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.1308, allocations: 16.81 kB / 0.4927 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1309, allocations: 19.94 kB / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.1313, allocations: 235.2 kB / 0.493 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1313, allocations: 0 / 0.493 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.1313, allocations: 15.94 kB / 0.493 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1314, allocations: 7.938 kB / 0.493 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.1318, allocations: 245.6 kB / 0.4932 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009805/0.1328, allocations: 0.6156 MB / 0.4938 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.1331, allocations: 110.6 kB / 0.494 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.1332, allocations: 40.84 kB / 0.494 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.1332, allocations: 4 kB / 0.494 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1333, allocations: 34.55 kB / 0.494 GB, free: 5.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.1333, allocations: 4 kB / 0.494 GB, free: 5.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.00051/0.1338, allocations: 165.3 kB / 0.4942 GB, free: 5.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.1339, allocations: 51.41 kB / 0.4942 GB, free: 5.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.1341, allocations: 266.9 kB / 0.4945 GB, free: 4.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1341, allocations: 29.7 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.1342, allocations: 175.1 kB / 0.4947 GB, free: 4.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.1343, allocations: 27.64 kB / 0.4947 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.934e-05/0.1344, allocations: 49.61 kB / 0.4948 GB, free: 4.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1345, allocations: 342.8 kB / 0.4951 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.1346, allocations: 43.97 kB / 0.4951 GB, free: 4.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.1349, allocations: 156.7 kB / 0.4953 GB, free: 3.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.1352, allocations: 200.7 kB / 0.4955 GB, free: 3.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.1352, allocations: 0 / 0.4955 GB, free: 3.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000479/0.1357, allocations: 245 kB / 0.4957 GB, free: 3.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1357, allocations: 8 kB / 0.4957 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1358, allocations: 4 kB / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.1358, allocations: 7.984 kB / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.1362, allocations: 79.91 kB / 0.4958 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008201/0.137, allocations: 1.219 MB / 0.497 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.1372, allocations: 39.58 kB / 0.497 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.1373, allocations: 12 kB / 0.497 GB, free: 2.043 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 (25): * Single equations (assignments): 23 * 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.000126/0.1374, allocations: 137.6 kB / 0.4972 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.458e-05/0.1375, allocations: 23.91 kB / 0.4972 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004249/0.1379, allocations: 171.6 kB / 0.4974 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1379, allocations: 96 / 0.4974 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1379, allocations: 7.938 kB / 0.4974 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1379, allocations: 4 kB / 0.4974 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006319/0.1386, allocations: 448 kB / 0.4978 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.1386, allocations: 4 kB / 0.4978 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.1388, allocations: 59.91 kB / 0.4979 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.1389, allocations: 3.938 kB / 0.4979 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1389, allocations: 8 kB / 0.4979 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007144/0.1396, allocations: 1.211 MB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1396, allocations: 4.109 kB / 0.4991 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.14, allocations: 257 kB / 0.4993 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.1401, allocations: 100.8 kB / 0.4994 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.1401, allocations: 0 / 0.4994 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.1403, allocations: 7.984 kB / 0.4994 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.1403, allocations: 11.98 kB / 0.4994 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1404, allocations: 8 kB / 0.4994 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.1405, allocations: 186 kB / 0.4996 GB, free: 15.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1405, allocations: 4 kB / 0.4996 GB, free: 15.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003851/0.1409, allocations: 60 kB / 0.4997 GB, free: 15.19 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0008313/0.1418, allocations: 0.8308 MB / 0.5005 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005347/0.1423, allocations: 167.7 kB / 0.5006 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1423, allocations: 0 / 0.5006 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.1426, allocations: 84.77 kB / 0.5007 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.143, allocations: 29.14 kB / 0.5007 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.1463, allocations: 2.553 MB / 0.5032 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.1466, allocations: 0.7323 MB / 0.504 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.857e-05/0.1467, allocations: 17.95 kB / 0.504 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.1468, allocations: 67.41 kB / 0.504 GB, free: 10.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1468, allocations: 0 / 0.504 GB, free: 10.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.1728, allocations: 6.233 MB / 0.5101 GB, free: 4.254 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.21, allocations: 4.344 kB / 0.5101 GB, free: 4.25 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches