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.001682/0.001681, allocations: 104.4 kB / 16.4 MB, free: 6.469 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.001734/0.001734, allocations: 192.1 kB / 17.34 MB, free: 5.75 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.427/1.427, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.21/0.21, 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.001386/0.001386, allocations: 75.91 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1143, 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.003232/0.1176, allocations: 2.111 MB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.1196, allocations: 1.418 MB / 0.4909 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.1197, allocations: 3.938 kB / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.1201, allocations: 83.44 kB / 0.491 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.1203, allocations: 67.42 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006671/0.121, allocations: 211 kB / 0.4912 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.1212, allocations: 151 kB / 0.4914 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.028e-05/0.1212, allocations: 20.28 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1214, allocations: 55.66 kB / 0.4914 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1215, allocations: 63.55 kB / 0.4915 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1215, allocations: 7.984 kB / 0.4915 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007033/0.1222, allocations: 427.4 kB / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.1223, allocations: 31.78 kB / 0.4919 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/0.1224, allocations: 75.42 kB / 0.492 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006506/0.1231, allocations: 422.6 kB / 0.4924 GB, free: 7.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1231, allocations: 0 / 0.4924 GB, free: 7.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1231, allocations: 0 / 0.4924 GB, free: 7.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1231, allocations: 0 / 0.4924 GB, free: 7.129 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.000803/0.1239, allocations: 0.498 MB / 0.4929 GB, free: 6.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.124, allocations: 8.031 kB / 0.4929 GB, free: 6.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.076e-05/0.124, allocations: 54.72 kB / 0.493 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.1241, allocations: 28.66 kB / 0.493 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1243, allocations: 219.7 kB / 0.4932 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1244, allocations: 8.375 kB / 0.4932 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.1244, allocations: 23.94 kB / 0.4932 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.1248, allocations: 210.7 kB / 0.4934 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1249, allocations: 3.938 kB / 0.4934 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.1249, allocations: 4 kB / 0.4934 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.1249, allocations: 4 kB / 0.4934 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.1252, allocations: 152.2 kB / 0.4936 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009986/0.1262, allocations: 0.5675 MB / 0.4941 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.1264, allocations: 66.48 kB / 0.4942 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.1266, allocations: 32.94 kB / 0.4942 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.1266, allocations: 4 kB / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.1266, allocations: 30.56 kB / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.1266, allocations: 0 / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004456/0.1271, allocations: 133.4 kB / 0.4944 GB, free: 4.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.1271, allocations: 55.34 kB / 0.4945 GB, free: 4.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.1274, allocations: 262.6 kB / 0.4947 GB, free: 4.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1274, allocations: 29.64 kB / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1275, allocations: 163.7 kB / 0.4949 GB, free: 4.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.1276, allocations: 23.7 kB / 0.4949 GB, free: 4.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.1276, allocations: 33.72 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1278, allocations: 338.8 kB / 0.4953 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1279, allocations: 31.97 kB / 0.4953 GB, free: 3.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.1281, allocations: 132.8 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.1284, allocations: 180.6 kB / 0.4956 GB, free: 3.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1284, allocations: 4 kB / 0.4956 GB, free: 3.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003986/0.1288, allocations: 201 kB / 0.4958 GB, free: 3.348 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1288, allocations: 10.66 kB / 0.4958 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.114e-05/0.1289, allocations: 15.98 kB / 0.4958 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1289, allocations: 4.438 kB / 0.4958 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.129, allocations: 27.98 kB / 0.4958 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.1291, allocations: 7.938 kB / 0.4959 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.1292, allocations: 35.67 kB / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.1292, allocations: 12 kB / 0.4959 GB, free: 3.238 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.0001619/0.1294, allocations: 137.6 kB / 0.496 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.1294, allocations: 19.72 kB / 0.496 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.1298, allocations: 135.1 kB / 0.4962 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1298, allocations: 11.98 kB / 0.4962 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1299, allocations: 0 / 0.4962 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1299, allocations: 0 / 0.4962 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.1301, allocations: 221.5 kB / 0.4964 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/0.1302, allocations: 15.98 kB / 0.4964 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.1302, allocations: 8 kB / 0.4964 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1302, allocations: 0 / 0.4964 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1303, allocations: 4 kB / 0.4964 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1303, allocations: 0 / 0.4964 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1303, allocations: 144 / 0.4964 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.1306, allocations: 215.1 kB / 0.4966 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.1307, allocations: 100.8 kB / 0.4967 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.1307, allocations: 4 kB / 0.4967 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-05/0.1308, allocations: 3.984 kB / 0.4967 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.1309, allocations: 8 kB / 0.4967 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.1309, allocations: 4 kB / 0.4967 GB, free: 2.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.1311, allocations: 181.9 kB / 0.4969 GB, free: 2.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1311, allocations: 0 / 0.4969 GB, free: 2.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004363/0.1315, allocations: 83.86 kB / 0.497 GB, free: 2.008 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.0009055/0.1325, allocations: 0.7981 MB / 0.4978 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005066/0.133, allocations: 176.1 kB / 0.4979 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.133, allocations: 0 / 0.4979 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.1332, allocations: 95.38 kB / 0.498 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.1336, allocations: 28.86 kB / 0.4981 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.1368, allocations: 2.377 MB / 0.5004 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.1371, allocations: 0.732 MB / 0.5011 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.376e-05/0.1372, allocations: 17.55 kB / 0.5011 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.1373, allocations: 59.41 kB / 0.5012 GB, free: 13.49 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1373, allocations: 0 / 0.5012 GB, free: 13.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.1641, allocations: 6.882 MB / 0.5079 GB, free: 6.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.35, allocations: 16.33 kB / 0.5079 GB, free: 6.594 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