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_overall.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_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",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.001152/0.001152, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001218/0.001218, allocations: 192 kB / 18.55 MB, free: 4.566 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.354/1.354, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.197/0.197, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001203, allocations: 60.62 kB / 408.6 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09592/0.09714, allocations: 60.83 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.002894/0.1001, allocations: 1.802 MB / 471.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.102, allocations: 1.46 MB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.1021, allocations: 7.875 kB / 472.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.1023, allocations: 47.73 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.1025, allocations: 67.66 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.103, allocations: 231 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002284/0.1033, allocations: 207.2 kB / 473.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.532e-05/0.1034, allocations: 17.56 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.1035, allocations: 83.67 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.1037, allocations: 103.6 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.1037, allocations: 8 kB / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/0.1041, allocations: 219.6 kB / 473.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.1042, allocations: 51.81 kB / 473.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.54e-05/0.1043, allocations: 83.53 kB / 473.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.1047, allocations: 307.3 kB / 474 MB, free: 9.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1047, allocations: 4 kB / 474.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.759e-06/0.1047, allocations: 0 / 474.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1047, allocations: 7.875 kB / 474.1 MB, free: 9.527 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.001076/0.1058, allocations: 0.53 MB / 474.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1059, allocations: 12.03 kB / 474.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.698e-05/0.1059, allocations: 50.73 kB / 474.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.106, allocations: 16.75 kB / 474.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1063, allocations: 227.9 kB / 474.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1063, allocations: 12.59 kB / 474.9 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.1063, allocations: 12.38 kB / 474.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.1069, allocations: 264.6 kB / 475.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1069, allocations: 4 kB / 475.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.1069, allocations: 7.984 kB / 475.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.622e-05/0.107, allocations: 16.17 kB / 475.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005549/0.1075, allocations: 220.5 kB / 475.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.1087, allocations: 0.8062 MB / 476.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.1091, allocations: 191.6 kB / 476.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.1094, allocations: 102.7 kB / 476.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.1094, allocations: 7.938 kB / 476.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1095, allocations: 38.56 kB / 476.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.1095, allocations: 0 / 476.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009009/0.1104, allocations: 321.2 kB / 476.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.1104, allocations: 106.8 kB / 477 MB, free: 6.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.1107, allocations: 257 kB / 477.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.1107, allocations: 25.7 kB / 477.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.1108, allocations: 131.9 kB / 477.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.1108, allocations: 35.45 kB / 477.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.479e-05/0.1109, allocations: 41.7 kB / 477.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1111, allocations: 338.8 kB / 477.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.1113, allocations: 95.89 kB / 477.9 MB, free: 5.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.1116, allocations: 139.9 kB / 478 MB, free: 5.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.1121, allocations: 220.9 kB / 478.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1122, allocations: 4 kB / 478.2 MB, free: 5.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000668/0.1128, allocations: 273.5 kB / 478.5 MB, free: 4.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1129, allocations: 12.16 kB / 478.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.1129, allocations: 8 kB / 478.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1129, allocations: 4.094 kB / 478.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.1132, allocations: 39.89 kB / 478.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1132, allocations: 4 kB / 478.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.1134, allocations: 35.72 kB / 478.6 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.1134, allocations: 11.94 kB / 478.6 MB, free: 4.641 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.0001405/0.1136, allocations: 149.7 kB / 478.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.151e-05/0.1137, allocations: 15.81 kB / 478.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004856/0.1142, allocations: 219.2 kB / 479 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1142, allocations: 0 / 479 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1142, allocations: 4 kB / 479 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1142, allocations: 0 / 479 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.1146, allocations: 261.4 kB / 479.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/0.1146, allocations: 16 kB / 479.3 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.1148, allocations: 31.97 kB / 479.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1148, allocations: 0 / 479.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.1148, allocations: 7.984 kB / 479.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1148, allocations: 0 / 479.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1149, allocations: 0 / 479.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.1155, allocations: 493.5 kB / 479.8 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.583e-05/0.1156, allocations: 96.86 kB / 479.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.1156, allocations: 4 kB / 479.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.1159, allocations: 19.97 kB / 479.9 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.116, allocations: 15.92 kB / 479.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.116, allocations: 12 kB / 479.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.1162, allocations: 192.4 kB / 480.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1162, allocations: 0 / 480.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004487/0.1166, allocations: 91.92 kB / 480.2 MB, free: 2.949 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.001101/0.1177, allocations: 1.117 MB / 481.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006202/0.1184, allocations: 297 kB / 481.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1184, allocations: 0 / 481.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.1187, allocations: 180.9 kB / 481.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.1192, allocations: 40.55 kB / 481.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.1226, allocations: 2.836 MB / 484.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1229, allocations: 0.7397 MB / 485.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001044/0.123, allocations: 37.52 kB / 485.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.1231, allocations: 59.41 kB / 485.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1231, allocations: 0 / 485.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7351/0.8582, allocations: 6.605 MB / 492.1 MB, free: 6.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/9.168, allocations: 11.8 kB / 492.1 MB, free: 6.977 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],lambda[1],lambda[2],lambda[3],rho[1],rho[2],rho[3],velocity[1],velocity[2],velocity[3],Nu[1],Nu[2],Nu[3],Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],input_v_1.y,input_v_2.y,input_v_0.y Variables in the result:IN_con[1].L,IN_con[2].L,IN_con[3].L,IN_var[1].cp,IN_var[1].eta,IN_var[1].lambda,IN_var[1].rho,IN_var[1].velocity,IN_var[2].cp,IN_var[2].eta,IN_var[2].lambda,IN_var[2].rho,IN_var[2].velocity,IN_var[3].cp,IN_var[3].eta,IN_var[3].lambda,IN_var[3].rho,IN_var[3].velocity,L,Nu[1],Nu[2],Nu[3],Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],input_v_0.duration,input_v_0.height,input_v_0.offset,input_v_0.startTime,input_v_0.y,input_v_1.amplitude,input_v_1.f,input_v_1.offset,input_v_1.phase,input_v_1.startTime,input_v_1.y,input_v_2.fallTimeConst,input_v_2.offset,input_v_2.outMax,input_v_2.riseTime,input_v_2.riseTimeConst,input_v_2.startTime,input_v_2.y,lambda[1],lambda[2],lambda[3],n,rho[1],rho[2],rho[3],time,velocity[1],velocity[2],velocity[3]