Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_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_4_0_0_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.001143/0.001143, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001042/0.001042, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2016/0.2016, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 61 kB / 408.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1036, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.00346/0.1071, allocations: 1.821 MB / 471.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1088, allocations: 0.9502 MB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.1089, allocations: 3.938 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.1092, allocations: 43.75 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.1095, allocations: 63.66 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.1098, allocations: 119.5 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.1101, allocations: 215.2 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.194e-05/0.1102, allocations: 13.56 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.1103, allocations: 91.61 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.1105, allocations: 99.58 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.1105, allocations: 8 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.1108, allocations: 123.8 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.767e-05/0.1109, allocations: 47.81 kB / 473 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.509e-05/0.111, allocations: 87.52 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.1113, allocations: 247.4 kB / 473.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1113, allocations: 4 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1113, allocations: 0 / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.1114, allocations: 0 / 473.3 MB, free: 10.32 MB / 350.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.001215/0.1126, allocations: 0.5223 MB / 473.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.1126, allocations: 8.031 kB / 473.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.267e-05/0.1127, allocations: 50.73 kB / 473.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.1128, allocations: 20.75 kB / 473.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.1131, allocations: 227.9 kB / 474.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1131, allocations: 12.55 kB / 474.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.1132, allocations: 12.38 kB / 474.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006239/0.1138, allocations: 268.5 kB / 474.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1138, allocations: 8 kB / 474.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.1139, allocations: 4 kB / 474.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.1139, allocations: 8.234 kB / 474.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005861/0.1145, allocations: 228.4 kB / 474.6 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.1155, allocations: 0.8101 MB / 475.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.1159, allocations: 191.6 kB / 475.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.1162, allocations: 102.5 kB / 475.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.1162, allocations: 3.984 kB / 475.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1162, allocations: 38.56 kB / 475.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/0.1163, allocations: 0 / 475.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009487/0.1172, allocations: 325.4 kB / 476.1 MB, free: 7.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.1173, allocations: 102.8 kB / 476.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.1176, allocations: 261 kB / 476.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1176, allocations: 25.7 kB / 476.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1177, allocations: 127.9 kB / 476.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.1178, allocations: 39.45 kB / 476.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/0.1178, allocations: 37.7 kB / 476.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.118, allocations: 334.8 kB / 477 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.1183, allocations: 99.83 kB / 477.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.1185, allocations: 129 kB / 477.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.1191, allocations: 224.9 kB / 477.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.1191, allocations: 8 kB / 477.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006467/0.1197, allocations: 277.4 kB / 477.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.1198, allocations: 8 kB / 477.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.1198, allocations: 4 kB / 477.7 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1198, allocations: 8.156 kB / 477.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.1201, allocations: 39.95 kB / 477.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.1201, allocations: 7.938 kB / 477.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.1203, allocations: 39.66 kB / 477.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.1203, allocations: 11.94 kB / 477.8 MB, free: 5.434 MB / 350.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.0001229/0.1205, allocations: 141.8 kB / 478 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.1206, allocations: 15.81 kB / 478 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004805/0.121, allocations: 231.2 kB / 478.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1211, allocations: 0 / 478.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.1211, allocations: 4 kB / 478.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1211, allocations: 0 / 478.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.1215, allocations: 257.4 kB / 478.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.1215, allocations: 12 kB / 478.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.1217, allocations: 27.97 kB / 478.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1217, allocations: 4 kB / 478.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1217, allocations: 11.98 kB / 478.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1217, allocations: 3.938 kB / 478.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1217, allocations: 0 / 478.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.1224, allocations: 481.6 kB / 479 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.1225, allocations: 100.8 kB / 479.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.1225, allocations: 8 kB / 479.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.1228, allocations: 15.97 kB / 479.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.1229, allocations: 19.92 kB / 479.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1229, allocations: 4 kB / 479.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.1231, allocations: 200.4 kB / 479.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1231, allocations: 0 / 479.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004331/0.1235, allocations: 68 kB / 479.4 MB, free: 3.766 MB / 350.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.001118/0.1246, allocations: 1.062 MB / 480.5 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006726/0.1253, allocations: 288.8 kB / 480.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1253, allocations: 3.938 kB / 480.8 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.1257, allocations: 185.5 kB / 480.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.1262, allocations: 52.33 kB / 481 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.13, allocations: 2.816 MB / 483.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.1304, allocations: 0.7397 MB / 484.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.1306, allocations: 41.53 kB / 484.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.1307, allocations: 55.41 kB / 484.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1307, allocations: 0 / 484.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.1529, allocations: 5.848 MB / 490.5 MB, free: 8.633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/7.894, allocations: 8.25 kB / 490.5 MB, free: 8.625 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches