Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",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.001343/0.001343, allocations: 110.6 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.001387/0.001387, 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.415/1.415, 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.2236/0.2236, allocations: 43.52 MB / 314.1 MB, free: 480 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.002035/0.002035, allocations: 63.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1155, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003461/0.119, allocations: 1.81 MB / 0.4892 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.1208, allocations: 1.009 MB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.1208, allocations: 0 / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.1211, allocations: 35.77 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.1214, allocations: 71.59 kB / 0.4903 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.1217, allocations: 123.5 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.122, allocations: 211.2 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.102e-05/0.1221, allocations: 29.45 kB / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.1223, allocations: 79.69 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.1224, allocations: 99.58 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.1225, allocations: 8 kB / 0.4908 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.1227, allocations: 131.8 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.218e-05/0.1228, allocations: 51.81 kB / 0.491 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.123, allocations: 87.52 kB / 0.4911 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.1233, allocations: 246.9 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1233, allocations: 0 / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1233, allocations: 0 / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1234, allocations: 0 / 0.4913 GB, free: 8.32 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001082/0.1245, allocations: 0.5258 MB / 0.4918 GB, free: 7.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1245, allocations: 27.81 kB / 0.4918 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.239e-05/0.1246, allocations: 46.69 kB / 0.4919 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.1246, allocations: 20.8 kB / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.1249, allocations: 224 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1249, allocations: 8.609 kB / 0.4921 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.1249, allocations: 12.38 kB / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/0.1255, allocations: 266.8 kB / 0.4924 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1255, allocations: 0 / 0.4924 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.1256, allocations: 4 kB / 0.4924 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.1256, allocations: 16.22 kB / 0.4924 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005826/0.1262, allocations: 228.3 kB / 0.4926 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.1274, allocations: 0.8139 MB / 0.4934 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.1279, allocations: 191.6 kB / 0.4936 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.1281, allocations: 98.5 kB / 0.4937 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-05/0.1282, allocations: 16.09 kB / 0.4937 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.1282, allocations: 38.56 kB / 0.4938 GB, free: 5.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.1282, allocations: 0 / 0.4938 GB, free: 5.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009886/0.1292, allocations: 317.4 kB / 0.4941 GB, free: 5.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/0.1293, allocations: 106.8 kB / 0.4942 GB, free: 5.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.1296, allocations: 257 kB / 0.4944 GB, free: 4.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.1297, allocations: 29.7 kB / 0.4944 GB, free: 4.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1298, allocations: 136 kB / 0.4946 GB, free: 4.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.147e-05/0.1299, allocations: 43.64 kB / 0.4946 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.408e-05/0.13, allocations: 33.7 kB / 0.4946 GB, free: 4.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1301, allocations: 338.8 kB / 0.495 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.1304, allocations: 91.89 kB / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.1307, allocations: 129 kB / 0.4952 GB, free: 4.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006377/0.1314, allocations: 241.1 kB / 0.4954 GB, free: 3.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1314, allocations: 0 / 0.4954 GB, free: 3.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006997/0.1321, allocations: 265.3 kB / 0.4957 GB, free: 3.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.1321, allocations: 11.94 kB / 0.4957 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/0.1322, allocations: 16.14 kB / 0.4957 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1322, allocations: 4 kB / 0.4957 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.1324, allocations: 31.97 kB / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1325, allocations: 4 kB / 0.4957 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.1327, allocations: 39.81 kB / 0.4958 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.1327, allocations: 7.938 kB / 0.4958 GB, free: 3.422 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001434/0.1328, allocations: 145.7 kB / 0.4959 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-05/0.1329, allocations: 19.91 kB / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000525/0.1335, allocations: 223.1 kB / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1335, allocations: 4 kB / 0.4961 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1335, allocations: 0 / 0.4961 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1335, allocations: 3.938 kB / 0.4961 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.1339, allocations: 261.4 kB / 0.4964 GB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.1339, allocations: 12 kB / 0.4964 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.1341, allocations: 35.95 kB / 0.4964 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1341, allocations: 4 kB / 0.4964 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1342, allocations: 4 kB / 0.4964 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1342, allocations: 0 / 0.4964 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1342, allocations: 4 kB / 0.4964 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007433/0.1349, allocations: 485.7 kB / 0.4969 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/0.135, allocations: 97 kB / 0.497 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.1351, allocations: 4 kB / 0.497 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.1353, allocations: 15.98 kB / 0.497 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.1354, allocations: 19.91 kB / 0.497 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.1354, allocations: 11.98 kB / 0.4971 GB, free: 1.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.1356, allocations: 196.4 kB / 0.4972 GB, free: 1.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1357, allocations: 3.938 kB / 0.4972 GB, free: 1.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004173/0.1361, allocations: 71.81 kB / 0.4973 GB, free: 1.73 MB / 382.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0013/0.1374, allocations: 1.058 MB / 0.4983 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007236/0.1381, allocations: 284.8 kB / 0.4986 GB, free: 356 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1381, allocations: 0 / 0.4986 GB, free: 356 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.1385, allocations: 185.2 kB / 0.4988 GB, free: 152 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.139, allocations: 46.94 kB / 0.4988 GB, free: 108 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004546/0.1436, allocations: 2.824 MB / 0.5016 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.1441, allocations: 0.7475 MB / 0.5023 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.1442, allocations: 37.53 kB / 0.5024 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.1443, allocations: 55.41 kB / 0.5024 GB, free: 12.29 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1443, allocations: 0 / 0.5024 GB, free: 12.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.1731, allocations: 5.909 MB / 0.5082 GB, free: 6.395 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.24, allocations: 8.25 kB / 0.5082 GB, free: 6.387 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches