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.0007319/0.0007319, allocations: 94.2 kB / 17.35 MB, free: 6.375 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.0008774/0.0008775, allocations: 179.5 kB / 18.26 MB, free: 5.52 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.329/1.329, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1952/0.1952, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003213, allocations: 13.11 kB / 410.5 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1203, allocations: 61.93 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.002108/0.1225, allocations: 1.516 MB / 473.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.1247, allocations: 1.437 MB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.847e-05/0.1248, allocations: 0 / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.1251, allocations: 47.75 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.1254, allocations: 51.72 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00066/0.126, allocations: 218.5 kB / 475.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.1264, allocations: 291.1 kB / 475.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.984e-05/0.1265, allocations: 17.56 kB / 476 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.1266, allocations: 79.69 kB / 476 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.1268, allocations: 103.6 kB / 476.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.1269, allocations: 4 kB / 476.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.1273, allocations: 211.6 kB / 476.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.189e-05/0.1274, allocations: 59.73 kB / 476.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.1275, allocations: 101.2 kB / 476.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004559/0.1279, allocations: 299.3 kB / 476.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.128, allocations: 3.938 kB / 476.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.128, allocations: 0 / 476.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.128, allocations: 8 kB / 476.8 MB, free: 8.785 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.000989/0.129, allocations: 0.5284 MB / 477.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.129, allocations: 12.03 kB / 477.3 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.7e-05/0.1291, allocations: 46.73 kB / 477.4 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.1291, allocations: 16.75 kB / 477.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.1294, allocations: 223.9 kB / 477.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1294, allocations: 8.609 kB / 477.6 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.1294, allocations: 12.38 kB / 477.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.13, allocations: 286.7 kB / 477.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.13, allocations: 0 / 477.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.13, allocations: 7.984 kB / 477.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.13, allocations: 12.23 kB / 477.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005738/0.1306, allocations: 252.4 kB / 478.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.1316, allocations: 0.814 MB / 479 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.132, allocations: 203.7 kB / 479.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.1323, allocations: 114.5 kB / 479.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.1323, allocations: 3.984 kB / 479.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.1324, allocations: 42.69 kB / 479.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.1324, allocations: 0 / 479.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009606/0.1333, allocations: 353.3 kB / 479.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.1334, allocations: 110.8 kB / 479.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.1337, allocations: 256.9 kB / 480.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.1337, allocations: 29.7 kB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.1338, allocations: 135.9 kB / 480.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.1338, allocations: 35.45 kB / 480.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.1339, allocations: 17.72 kB / 480.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.134, allocations: 338.7 kB / 480.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.1342, allocations: 112.3 kB / 480.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.1345, allocations: 147.9 kB / 480.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000549/0.1351, allocations: 252.8 kB / 481.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1351, allocations: 0 / 481.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006697/0.1358, allocations: 305.2 kB / 481.4 MB, free: 3.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1358, allocations: 4 kB / 481.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.1358, allocations: 12 kB / 481.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1359, allocations: 0 / 481.4 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.1361, allocations: 52.02 kB / 481.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1361, allocations: 4 kB / 481.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.1363, allocations: 31.83 kB / 481.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.1364, allocations: 15.92 kB / 481.5 MB, free: 3.73 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.0001247/0.1365, allocations: 146.2 kB / 481.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.1366, allocations: 23.72 kB / 481.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.1371, allocations: 227.2 kB / 481.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1371, allocations: 3.938 kB / 481.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1371, allocations: 0 / 481.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1371, allocations: 4 kB / 481.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.1375, allocations: 257.5 kB / 482.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.1375, allocations: 12 kB / 482.2 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.1377, allocations: 35.97 kB / 482.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1377, allocations: 0 / 482.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.1377, allocations: 7.984 kB / 482.2 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1377, allocations: 0 / 482.2 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1377, allocations: 4.188 kB / 482.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000659/0.1384, allocations: 0.5131 MB / 482.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.1384, allocations: 96.86 kB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.1385, allocations: 4 kB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.1387, allocations: 31.97 kB / 482.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.1388, allocations: 11.92 kB / 482.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1388, allocations: 8 kB / 482.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.139, allocations: 192.4 kB / 483.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.139, allocations: 0 / 483.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004426/0.1395, allocations: 91.92 kB / 483.2 MB, free: 1.988 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.1406, allocations: 1.14 MB / 484.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006483/0.1413, allocations: 308.8 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.1413, allocations: 4.312 kB / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.1416, allocations: 197.1 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.1421, allocations: 40.61 kB / 484.8 MB, free: 252 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/0.1459, allocations: 2.976 MB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1463, allocations: 0.7361 MB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.1464, allocations: 37.52 kB / 488.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.64e-05/0.1465, allocations: 59.41 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1465, allocations: 0 / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01719/0.1637, allocations: 6.142 MB / 494.8 MB, free: 6.336 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.164, allocations: 253.7 kB / 495 MB, free: 6.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/1.95, allocations: 0 / 495 MB, free: 6.07 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]