Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001255/0.001256, allocations: 108 kB / 16.41 MB, free: 6.004 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.001227/0.001227, allocations: 189 kB / 17.34 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2132/0.2132, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 63.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.118, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.00357/0.1216, allocations: 2.072 MB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.1239, allocations: 1.298 MB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1241, allocations: 0 / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.1244, allocations: 71.59 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.1247, allocations: 83.39 kB / 0.4909 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.1253, allocations: 191.3 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005373/0.1259, allocations: 434 kB / 0.4915 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.484e-05/0.126, allocations: 52.62 kB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.1262, allocations: 151.2 kB / 0.4917 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.1265, allocations: 171.1 kB / 0.4918 GB, free: 7.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.1265, allocations: 12 kB / 0.4918 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005298/0.1271, allocations: 259.5 kB / 0.4921 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1272, allocations: 79.59 kB / 0.4922 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.1274, allocations: 166.8 kB / 0.4923 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007012/0.1281, allocations: 0.5173 MB / 0.4928 GB, free: 6.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1281, allocations: 0 / 0.4928 GB, free: 6.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1281, allocations: 0 / 0.4928 GB, free: 6.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.1281, allocations: 4 kB / 0.4928 GB, free: 6.723 MB / 382.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.001267/0.1294, allocations: 0.7246 MB / 0.4935 GB, free: 5.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1295, allocations: 8.031 kB / 0.4935 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.978e-05/0.1296, allocations: 82.72 kB / 0.4936 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.994e-05/0.1297, allocations: 44.66 kB / 0.4937 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.13, allocations: 292.2 kB / 0.4939 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.1301, allocations: 33 kB / 0.494 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-05/0.1301, allocations: 36 kB / 0.494 GB, free: 5.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000978/0.1311, allocations: 0.5574 MB / 0.4945 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1311, allocations: 0 / 0.4945 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.1312, allocations: 16 kB / 0.4946 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.1312, allocations: 17 kB / 0.4946 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008776/0.1321, allocations: 423.5 kB / 0.495 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.1341, allocations: 1.285 MB / 0.4962 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005666/0.1347, allocations: 275.6 kB / 0.4965 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/0.135, allocations: 146.1 kB / 0.4966 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/0.1351, allocations: 7.984 kB / 0.4966 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.1351, allocations: 42.44 kB / 0.4967 GB, free: 2.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.024e-06/0.1351, allocations: 4 kB / 0.4967 GB, free: 2.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001251/0.1364, allocations: 461.2 kB / 0.4971 GB, free: 2.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.1365, allocations: 106.8 kB / 0.4972 GB, free: 1.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006035/0.1371, allocations: 0.4939 MB / 0.4977 GB, free: 1.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.1371, allocations: 25.7 kB / 0.4977 GB, free: 1.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.1373, allocations: 216.4 kB / 0.4979 GB, free: 1.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.1374, allocations: 59.55 kB / 0.498 GB, free: 1.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.1375, allocations: 65.64 kB / 0.4981 GB, free: 1.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1377, allocations: 350.8 kB / 0.4984 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.1381, allocations: 132.1 kB / 0.4985 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.1385, allocations: 226.4 kB / 0.4987 GB, free: 340 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007914/0.1393, allocations: 365.9 kB / 0.4991 GB, free: 15.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.1393, allocations: 0 / 0.4991 GB, free: 15.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009315/0.1403, allocations: 416.9 kB / 0.4995 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1403, allocations: 7.938 kB / 0.4995 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.659e-05/0.1404, allocations: 35.98 kB / 0.4995 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.1404, allocations: 4 kB / 0.4995 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.1406, allocations: 35.91 kB / 0.4996 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.1406, allocations: 8.328 kB / 0.4996 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.1409, allocations: 63.59 kB / 0.4996 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.141, allocations: 16 kB / 0.4997 GB, free: 15.36 MB / 398.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.0002577/0.1412, allocations: 205.6 kB / 0.4998 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1413, allocations: 43.66 kB / 0.4999 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000854/0.1422, allocations: 392.6 kB / 0.5003 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.1422, allocations: 7.984 kB / 0.5003 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.1422, allocations: 4 kB / 0.5003 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1422, allocations: 0 / 0.5003 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005973/0.1428, allocations: 369.3 kB / 0.5006 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.778e-05/0.1429, allocations: 31.98 kB / 0.5007 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.1431, allocations: 27.91 kB / 0.5007 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.1431, allocations: 11.94 kB / 0.5007 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.1431, allocations: 4 kB / 0.5007 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1431, allocations: 4 kB / 0.5007 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1432, allocations: 0 / 0.5007 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.1441, allocations: 0.5899 MB / 0.5013 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.1442, allocations: 120.8 kB / 0.5014 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/0.1443, allocations: 7.938 kB / 0.5014 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.1446, allocations: 23.97 kB / 0.5014 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.1447, allocations: 15.98 kB / 0.5014 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.1447, allocations: 12 kB / 0.5015 GB, free: 13.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004491/0.1452, allocations: 371 kB / 0.5018 GB, free: 13.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1452, allocations: 0 / 0.5018 GB, free: 13.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005772/0.1457, allocations: 123.8 kB / 0.5019 GB, free: 12.93 MB / 398.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.001552/0.1473, allocations: 1.198 MB / 0.5031 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000985/0.1483, allocations: 0.5307 MB / 0.5036 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.912e-06/0.1483, allocations: 4.062 kB / 0.5036 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005161/0.1489, allocations: 387.1 kB / 0.504 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007146/0.1496, allocations: 101.5 kB / 0.5041 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006795/0.1564, allocations: 4.651 MB / 0.5086 GB, free: 5.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.1569, allocations: 0.8497 MB / 0.5095 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.1571, allocations: 63.23 kB / 0.5095 GB, free: 4.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.1574, allocations: 115.4 kB / 0.5096 GB, free: 4.719 MB / 398.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1574, allocations: 0 / 0.5096 GB, free: 4.719 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03924/0.1966, allocations: 11.86 MB / 0.5212 GB, free: 8.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.605/8.802, allocations: 20.22 kB / 0.5212 GB, free: 8.824 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches