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.001246/0.001246, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.001182/0.001182, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.405/1.405, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2047/0.2047, allocations: 43.53 MB / 314.1 MB, free: 452 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.002212/0.002212, allocations: 77.83 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1152, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003729/0.1189, allocations: 2.185 MB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1208, allocations: 1.098 MB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.121, allocations: 0 / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.1214, allocations: 95.38 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003422/0.1217, allocations: 91.27 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.1221, allocations: 111.5 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.1223, allocations: 182.8 kB / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.062e-05/0.1224, allocations: 28.36 kB / 0.4911 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1225, allocations: 67.59 kB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1227, allocations: 83.5 kB / 0.4913 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.1227, allocations: 8 kB / 0.4913 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.1232, allocations: 263.6 kB / 0.4915 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.1232, allocations: 27.8 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.096e-05/0.1233, allocations: 79.41 kB / 0.4916 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.1238, allocations: 342.4 kB / 0.492 GB, free: 7.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1238, allocations: 0 / 0.492 GB, free: 7.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1238, allocations: 0 / 0.492 GB, free: 7.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1238, allocations: 4 kB / 0.492 GB, free: 7.578 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.0006422/0.1245, allocations: 0.4909 MB / 0.4924 GB, free: 7.039 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1245, allocations: 12.03 kB / 0.4925 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.706e-05/0.1246, allocations: 50.73 kB / 0.4925 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.1246, allocations: 24.8 kB / 0.4925 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.1248, allocations: 223.8 kB / 0.4927 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.1249, allocations: 20.75 kB / 0.4928 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.1249, allocations: 27.94 kB / 0.4928 GB, free: 6.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.1253, allocations: 227.2 kB / 0.493 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1253, allocations: 3.938 kB / 0.493 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.1254, allocations: 11.94 kB / 0.493 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.1254, allocations: 4 kB / 0.493 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.1259, allocations: 245.6 kB / 0.4933 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009733/0.1268, allocations: 0.6237 MB / 0.4939 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.1271, allocations: 98.56 kB / 0.494 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.1273, allocations: 48.92 kB / 0.494 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1273, allocations: 0 / 0.494 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.1273, allocations: 30.56 kB / 0.494 GB, free: 5.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.1273, allocations: 4 kB / 0.494 GB, free: 5.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005318/0.1279, allocations: 169.4 kB / 0.4942 GB, free: 5.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.1279, allocations: 51.41 kB / 0.4943 GB, free: 5.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.1282, allocations: 263 kB / 0.4945 GB, free: 4.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1282, allocations: 33.7 kB / 0.4945 GB, free: 4.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1284, allocations: 171.6 kB / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.1284, allocations: 39.72 kB / 0.4947 GB, free: 4.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.1285, allocations: 49.66 kB / 0.4948 GB, free: 4.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1286, allocations: 334.8 kB / 0.4951 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.1288, allocations: 47.95 kB / 0.4952 GB, free: 4.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.129, allocations: 152.7 kB / 0.4953 GB, free: 3.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.1294, allocations: 204.6 kB / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1294, allocations: 0 / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004835/0.1299, allocations: 241.2 kB / 0.4957 GB, free: 3.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.13, allocations: 8 kB / 0.4957 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.13, allocations: 4 kB / 0.4957 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.13, allocations: 4 kB / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.1304, allocations: 79.91 kB / 0.4958 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007881/0.1312, allocations: 1.227 MB / 0.497 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.1314, allocations: 43.66 kB / 0.4971 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.1314, allocations: 12 kB / 0.4971 GB, free: 1.988 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.00013/0.1315, allocations: 137.8 kB / 0.4972 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.1316, allocations: 23.86 kB / 0.4972 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004415/0.132, allocations: 175.5 kB / 0.4974 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1321, allocations: 0 / 0.4974 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1321, allocations: 8 kB / 0.4974 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1321, allocations: 0 / 0.4974 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006827/0.1328, allocations: 456 kB / 0.4978 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1328, allocations: 4 kB / 0.4978 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.133, allocations: 59.91 kB / 0.4979 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.133, allocations: 0 / 0.4979 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.1331, allocations: 12.05 kB / 0.4979 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007356/0.1338, allocations: 1.211 MB / 0.4991 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1338, allocations: 4 kB / 0.4991 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.1342, allocations: 249.1 kB / 0.4993 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.1343, allocations: 101 kB / 0.4994 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.1343, allocations: 0 / 0.4994 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.1345, allocations: 4 kB / 0.4994 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.1345, allocations: 11.98 kB / 0.4994 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.1346, allocations: 8 kB / 0.4994 GB, free: 15.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.1347, allocations: 186 kB / 0.4996 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1347, allocations: 4 kB / 0.4996 GB, free: 15.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.1351, allocations: 63.88 kB / 0.4997 GB, free: 15.14 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.0008442/0.1359, allocations: 0.8232 MB / 0.5005 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000577/0.1365, allocations: 171.7 kB / 0.5007 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1366, allocations: 288 / 0.5007 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.1369, allocations: 84.89 kB / 0.5007 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.1374, allocations: 32.81 kB / 0.5008 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.1406, allocations: 2.55 MB / 0.5033 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.1409, allocations: 0.7283 MB / 0.504 GB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.878e-05/0.141, allocations: 25.94 kB / 0.504 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.404e-05/0.1411, allocations: 59.42 kB / 0.504 GB, free: 10.43 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1411, allocations: 4 kB / 0.5041 GB, free: 10.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.1727, allocations: 6.137 MB / 0.51 GB, free: 4.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.74, allocations: 16.41 kB / 0.5101 GB, free: 4.289 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