Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001148/0.001148, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001372, allocations: 82.77 kB / 417.7 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1213, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.00348/0.1248, allocations: 1.821 MB / 482 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1264, allocations: 1.024 MB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.114e-05/0.1266, allocations: 11.94 kB / 483 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.1268, allocations: 35.77 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.1271, allocations: 71.59 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.1274, allocations: 131.5 kB / 483.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.1277, allocations: 219.2 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.328e-05/0.1278, allocations: 13.55 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.128, allocations: 87.69 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.1281, allocations: 99.58 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.1282, allocations: 12 kB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.1285, allocations: 139.8 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.1285, allocations: 55.75 kB / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.1287, allocations: 79.53 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.129, allocations: 251.4 kB / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.129, allocations: 0 / 484.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.129, allocations: 7.984 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.129, allocations: 0 / 484.2 MB, free: 1.074 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.0009646/0.13, allocations: 0.5223 MB / 484.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1301, allocations: 12.03 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.121e-05/0.1301, allocations: 46.72 kB / 484.8 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003694/0.1305, allocations: 56.62 kB / 484.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.1308, allocations: 224 kB / 485 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1308, allocations: 8.609 kB / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.1308, allocations: 12.38 kB / 485.1 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.1314, allocations: 274.7 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1314, allocations: 0 / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.1314, allocations: 7.984 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.1315, allocations: 12.23 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005695/0.132, allocations: 224.4 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.1331, allocations: 0.8139 MB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.1335, allocations: 187.6 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.1338, allocations: 110.5 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.1339, allocations: 4 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1339, allocations: 38.69 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.1339, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001024/0.1349, allocations: 317.1 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.135, allocations: 106.8 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.1353, allocations: 261 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1353, allocations: 29.86 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.1355, allocations: 139.9 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.1355, allocations: 35.45 kB / 487.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.307e-05/0.1356, allocations: 41.7 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1357, allocations: 334.8 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.136, allocations: 91.89 kB / 488 MB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.1363, allocations: 137 kB / 488.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005561/0.1368, allocations: 228.8 kB / 488.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1369, allocations: 0 / 488.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006556/0.1375, allocations: 277.4 kB / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1376, allocations: 4 kB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.1376, allocations: 12.09 kB / 488.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1376, allocations: 3.938 kB / 488.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.1379, allocations: 43.89 kB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1379, allocations: 0 / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.1381, allocations: 39.92 kB / 488.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.1381, allocations: 15.92 kB / 488.8 MB, free: 12.14 MB / 366.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.0001283/0.1383, allocations: 137.8 kB / 488.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/0.1384, allocations: 19.81 kB / 488.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/0.1389, allocations: 219 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1389, allocations: 7.984 kB / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1389, allocations: 0 / 489.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.1389, allocations: 8 kB / 489.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.1393, allocations: 249.5 kB / 489.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.722e-05/0.1394, allocations: 12 kB / 489.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.1396, allocations: 27.91 kB / 489.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1396, allocations: 4 kB / 489.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.1396, allocations: 15.97 kB / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1396, allocations: 0 / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1396, allocations: 3.984 kB / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006985/0.1403, allocations: 481.6 kB / 490 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.1404, allocations: 104.8 kB / 490.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.1404, allocations: 4 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.1407, allocations: 23.97 kB / 490.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.1408, allocations: 19.92 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.1408, allocations: 4 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.141, allocations: 192.4 kB / 490.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.141, allocations: 0 / 490.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.1415, allocations: 64 kB / 490.4 MB, free: 10.47 MB / 366.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.001145/0.1426, allocations: 1.062 MB / 491.4 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000718/0.1433, allocations: 297 kB / 491.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1434, allocations: 0 / 491.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.1437, allocations: 177.2 kB / 491.9 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.1443, allocations: 59.22 kB / 491.9 MB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.1487, allocations: 2.822 MB / 494.8 MB, free: 5.887 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.1491, allocations: 0.7436 MB / 495.5 MB, free: 5.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.1494, allocations: 41.52 kB / 495.5 MB, free: 5.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.1495, allocations: 55.42 kB / 495.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1495, allocations: 0 / 495.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.1724, allocations: 5.862 MB / 0.4897 GB, free: 15.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.115, allocations: 21.73 kB / 0.4897 GB, free: 15.28 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches