Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001389/0.001389, allocations: 104.4 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.001586/0.001586, 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.493/1.493, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 68.75 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1224, allocations: 62.46 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003774/0.1262, allocations: 2.082 MB / 482.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.1285, allocations: 1.332 MB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.1287, allocations: 0 / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.1291, allocations: 67.59 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.1293, allocations: 83.38 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007653/0.1301, allocations: 203.2 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.1307, allocations: 430.1 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1308, allocations: 48.72 kB / 484.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.1311, allocations: 155.1 kB / 484.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.1314, allocations: 171.1 kB / 484.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.823e-05/0.1315, allocations: 12 kB / 484.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005411/0.132, allocations: 271.6 kB / 485 MB, free: 316 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1322, allocations: 79.61 kB / 485.1 MB, free: 236 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.1324, allocations: 170.8 kB / 485.2 MB, free: 64 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007809/0.1332, allocations: 0.5218 MB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1332, allocations: 0 / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1332, allocations: 0 / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.1332, allocations: 0 / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001354/0.1346, allocations: 0.7214 MB / 486.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1346, allocations: 8.031 kB / 486.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.642e-05/0.1347, allocations: 78.72 kB / 486.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004739/0.1352, allocations: 76.33 kB / 486.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.1356, allocations: 288.3 kB / 486.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.1357, allocations: 29 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.1357, allocations: 36 kB / 487 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008987/0.1366, allocations: 0.5574 MB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1366, allocations: 3.984 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.1367, allocations: 16 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.1367, allocations: 17 kB / 487.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007851/0.1375, allocations: 415.6 kB / 488 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.1394, allocations: 1.285 MB / 489.3 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.1399, allocations: 279.6 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.1402, allocations: 138.5 kB / 489.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.135e-05/0.1403, allocations: 11.98 kB / 489.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1403, allocations: 34.56 kB / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.924e-06/0.1403, allocations: 0 / 489.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00118/0.1415, allocations: 472.7 kB / 490.2 MB, free: 10.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/0.1416, allocations: 102.8 kB / 490.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.1422, allocations: 0.494 MB / 490.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.1422, allocations: 25.7 kB / 490.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.1424, allocations: 220.3 kB / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.1425, allocations: 63.11 kB / 491.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.1426, allocations: 61.69 kB / 491.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1428, allocations: 354.7 kB / 491.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.1431, allocations: 132.1 kB / 491.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.1435, allocations: 214.7 kB / 491.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007484/0.1443, allocations: 368.6 kB / 492.2 MB, free: 8.758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1443, allocations: 0 / 492.2 MB, free: 8.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009783/0.1453, allocations: 424.6 kB / 492.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.1453, allocations: 7.938 kB / 492.6 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-05/0.1454, allocations: 35.98 kB / 492.6 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.1454, allocations: 4 kB / 492.6 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.1456, allocations: 27.97 kB / 492.7 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1457, allocations: 12.28 kB / 492.7 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.146, allocations: 59.41 kB / 492.7 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.146, allocations: 20 kB / 492.7 MB, free: 8.172 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.00023/0.1462, allocations: 197.7 kB / 492.9 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.1464, allocations: 43.47 kB / 493 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008339/0.1472, allocations: 392.7 kB / 493.4 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.1472, allocations: 4 kB / 493.4 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1472, allocations: 0 / 493.4 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1472, allocations: 4 kB / 493.4 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.1478, allocations: 369.3 kB / 493.7 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.956e-05/0.1478, allocations: 27.98 kB / 493.8 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.148, allocations: 43.89 kB / 493.8 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.148, allocations: 7.938 kB / 493.8 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.1481, allocations: 4 kB / 493.8 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1481, allocations: 4 kB / 493.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1481, allocations: 0 / 493.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008722/0.149, allocations: 0.5777 MB / 494.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/0.1491, allocations: 120.6 kB / 494.5 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.851e-05/0.1492, allocations: 4 kB / 494.5 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.1495, allocations: 23.91 kB / 494.5 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.1496, allocations: 23.92 kB / 494.6 MB, free: 6.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.1496, allocations: 15.98 kB / 494.6 MB, free: 6.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004/0.15, allocations: 363.1 kB / 494.9 MB, free: 5.879 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.15, allocations: 0 / 494.9 MB, free: 5.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005805/0.1506, allocations: 123.9 kB / 495.1 MB, free: 5.758 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001409/0.152, allocations: 1.193 MB / 496.3 MB, free: 4.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009017/0.1529, allocations: 0.5464 MB / 496.8 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1529, allocations: 3.938 kB / 496.8 MB, free: 3.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004646/0.1534, allocations: 395.1 kB / 497.2 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006656/0.1541, allocations: 102.2 kB / 497.3 MB, free: 3.395 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006446/0.1605, allocations: 4.746 MB / 0.4903 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.161, allocations: 0.8458 MB / 0.4911 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002159/0.1613, allocations: 55.25 kB / 0.4911 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.1615, allocations: 115.4 kB / 0.4913 GB, free: 13.45 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1615, allocations: 0 / 0.4913 GB, free: 13.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.1942, allocations: 11.79 MB / 0.5028 GB, free: 1.867 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.195, allocations: 2.297 kB / 0.5028 GB, free: 1.863 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches