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.001101/0.001101, allocations: 107.2 kB / 16.41 MB, free: 6.5 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.001082/0.001082, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.253/1.253, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1997/0.1997, allocations: 43.52 MB / 314.1 MB, free: 448 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.001894/0.001894, allocations: 71.91 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09777/0.09968, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003285/0.103, allocations: 2.072 MB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.1051, allocations: 1.294 MB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.1053, allocations: 4 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.1056, allocations: 71.59 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.1059, allocations: 95.38 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006511/0.1066, allocations: 187.3 kB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.1071, allocations: 438 kB / 0.4915 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.475e-05/0.1072, allocations: 52.7 kB / 0.4915 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.1075, allocations: 139.2 kB / 0.4917 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.1077, allocations: 175 kB / 0.4918 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.1078, allocations: 15.94 kB / 0.4918 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004585/0.1083, allocations: 255.6 kB / 0.4921 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1084, allocations: 83.59 kB / 0.4922 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.1086, allocations: 166.8 kB / 0.4923 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006512/0.1092, allocations: 0.5173 MB / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1093, allocations: 0 / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1093, allocations: 4 kB / 0.4928 GB, free: 6.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.1093, allocations: 0 / 0.4928 GB, free: 6.695 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.001276/0.1106, allocations: 0.7207 MB / 0.4935 GB, free: 5.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1106, allocations: 12.03 kB / 0.4935 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.1107, allocations: 86.7 kB / 0.4936 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.814e-05/0.1108, allocations: 44.66 kB / 0.4937 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.1112, allocations: 292.2 kB / 0.4939 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.1113, allocations: 29 kB / 0.494 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.1113, allocations: 36 kB / 0.494 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009466/0.1123, allocations: 0.5535 MB / 0.4946 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1123, allocations: 4 kB / 0.4946 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.1123, allocations: 12 kB / 0.4946 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.1124, allocations: 21 kB / 0.4946 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007974/0.1132, allocations: 419.5 kB / 0.495 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.1151, allocations: 1.293 MB / 0.4963 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.1156, allocations: 271.6 kB / 0.4965 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.116, allocations: 146.4 kB / 0.4966 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.116, allocations: 8 kB / 0.4967 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.116, allocations: 38.5 kB / 0.4967 GB, free: 2.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/0.116, allocations: 0 / 0.4967 GB, free: 2.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001151/0.1172, allocations: 465.2 kB / 0.4971 GB, free: 2.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.1173, allocations: 106.8 kB / 0.4972 GB, free: 1.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005523/0.1178, allocations: 0.494 MB / 0.4977 GB, free: 1.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.1179, allocations: 29.7 kB / 0.4977 GB, free: 1.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.118, allocations: 208.4 kB / 0.4979 GB, free: 1.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.1181, allocations: 63.52 kB / 0.498 GB, free: 1.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.1182, allocations: 69.66 kB / 0.4981 GB, free: 1.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1184, allocations: 354.8 kB / 0.4984 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.1187, allocations: 124.1 kB / 0.4985 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.1191, allocations: 222.4 kB / 0.4987 GB, free: 316 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006996/0.1198, allocations: 373.9 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1198, allocations: 0 / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008432/0.1206, allocations: 416.7 kB / 0.4995 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.1207, allocations: 11.94 kB / 0.4995 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-05/0.1207, allocations: 35.92 kB / 0.4995 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1207, allocations: 4 kB / 0.4995 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.1209, allocations: 32.31 kB / 0.4996 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.121, allocations: 11.94 kB / 0.4996 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.1212, allocations: 59.59 kB / 0.4996 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.1213, allocations: 15.98 kB / 0.4997 GB, free: 15.33 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.0002022/0.1215, allocations: 197.7 kB / 0.4999 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.1216, allocations: 47.66 kB / 0.4999 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007656/0.1224, allocations: 392.8 kB / 0.5003 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.1224, allocations: 4 kB / 0.5003 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1224, allocations: 0 / 0.5003 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1224, allocations: 0 / 0.5003 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.1229, allocations: 365.3 kB / 0.5006 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.513e-05/0.123, allocations: 35.98 kB / 0.5007 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.1232, allocations: 31.91 kB / 0.5007 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1232, allocations: 3.938 kB / 0.5007 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.1232, allocations: 12 kB / 0.5007 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1232, allocations: 4 kB / 0.5007 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1232, allocations: 7.922 kB / 0.5007 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008426/0.1241, allocations: 0.586 MB / 0.5013 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.1242, allocations: 124.7 kB / 0.5014 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.84e-05/0.1243, allocations: 0 / 0.5014 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.1246, allocations: 19.98 kB / 0.5014 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.1247, allocations: 23.97 kB / 0.5014 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.1247, allocations: 8 kB / 0.5015 GB, free: 13.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003568/0.1251, allocations: 363.1 kB / 0.5018 GB, free: 13.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1251, allocations: 0 / 0.5018 GB, free: 13.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000545/0.1256, allocations: 127.8 kB / 0.5019 GB, free: 12.91 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.001425/0.127, allocations: 1.199 MB / 0.5031 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008797/0.1279, allocations: 0.5463 MB / 0.5036 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1279, allocations: 0 / 0.5036 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004905/0.1284, allocations: 391.1 kB / 0.504 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007121/0.1292, allocations: 89.62 kB / 0.5041 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006257/0.1354, allocations: 4.659 MB / 0.5086 GB, free: 5.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.1359, allocations: 0.8458 MB / 0.5095 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.1361, allocations: 71.22 kB / 0.5095 GB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.1362, allocations: 107.4 kB / 0.5096 GB, free: 4.691 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1362, allocations: 0 / 0.5096 GB, free: 4.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.1679, allocations: 11.87 MB / 0.5212 GB, free: 8.816 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.18, allocations: 20.27 kB / 0.5212 GB, free: 8.797 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