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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",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.001272/0.001272, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001236/0.001236, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.405/1.405, 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.2101/0.2101, 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.002199/0.002199, allocations: 71.89 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1129, allocations: 57.78 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003343/0.1163, allocations: 1.998 MB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1178, allocations: 0.8498 MB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1179, allocations: 4 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.1183, allocations: 67.59 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.1187, allocations: 119.4 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.1189, allocations: 67.77 kB / 0.4905 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.1193, allocations: 306.6 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.858e-05/0.1194, allocations: 40.36 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.1196, allocations: 135.3 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.1198, allocations: 143.3 kB / 0.4911 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.1199, allocations: 8 kB / 0.4911 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.1202, allocations: 123.8 kB / 0.4912 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1203, allocations: 71.67 kB / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.1204, allocations: 115.2 kB / 0.4914 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004822/0.1209, allocations: 342.5 kB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1209, allocations: 0 / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1209, allocations: 0 / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1209, allocations: 4 kB / 0.4917 GB, free: 7.883 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009323/0.1219, allocations: 0.565 MB / 0.4922 GB, free: 7.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1219, allocations: 8.031 kB / 0.4922 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.322e-05/0.122, allocations: 70.7 kB / 0.4923 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.1221, allocations: 32.7 kB / 0.4923 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.1224, allocations: 248.3 kB / 0.4926 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.1224, allocations: 20.56 kB / 0.4926 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.1225, allocations: 23.98 kB / 0.4926 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.1231, allocations: 393.2 kB / 0.493 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1231, allocations: 0 / 0.493 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.1232, allocations: 12 kB / 0.493 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/0.1232, allocations: 24.64 kB / 0.493 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007661/0.124, allocations: 410.2 kB / 0.4934 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.1255, allocations: 0.8816 MB / 0.4943 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.1262, allocations: 278.3 kB / 0.4946 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.1265, allocations: 100.8 kB / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.1266, allocations: 7.984 kB / 0.4947 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1266, allocations: 34.56 kB / 0.4947 GB, free: 4.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.1266, allocations: 3.938 kB / 0.4947 GB, free: 4.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008123/0.1274, allocations: 341 kB / 0.495 GB, free: 4.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.1275, allocations: 51.41 kB / 0.4951 GB, free: 4.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.1279, allocations: 351.2 kB / 0.4954 GB, free: 3.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.1279, allocations: 33.7 kB / 0.4954 GB, free: 3.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.1281, allocations: 160.3 kB / 0.4956 GB, free: 3.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.1281, allocations: 59.59 kB / 0.4956 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.807e-05/0.1282, allocations: 45.7 kB / 0.4957 GB, free: 3.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1284, allocations: 342.8 kB / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.1286, allocations: 87.91 kB / 0.4961 GB, free: 3.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.1289, allocations: 149.8 kB / 0.4962 GB, free: 2.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.1294, allocations: 245.8 kB / 0.4965 GB, free: 2.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1294, allocations: 0 / 0.4965 GB, free: 2.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005985/0.13, allocations: 301 kB / 0.4968 GB, free: 2.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.13, allocations: 8.188 kB / 0.4968 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.13, allocations: 4 kB / 0.4968 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.13, allocations: 0 / 0.4968 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/0.1306, allocations: 119.9 kB / 0.4969 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.133, allocations: 3.669 MB / 0.5005 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.1332, allocations: 27.77 kB / 0.5005 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.1333, allocations: 15.98 kB / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.1335, allocations: 177.5 kB / 0.5007 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.1336, allocations: 31.75 kB / 0.5007 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007651/0.1343, allocations: 335.2 kB / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1343, allocations: 0 / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.329e-06/0.1344, allocations: 0 / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1344, allocations: 0 / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.1348, allocations: 301.5 kB / 0.5013 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1348, allocations: 3.938 kB / 0.5013 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004851/0.1353, allocations: 111.9 kB / 0.5014 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1353, allocations: 4 kB / 0.5014 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.1353, allocations: 8 kB / 0.5014 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/0.1377, allocations: 3.68 MB / 0.505 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1377, allocations: 0 / 0.505 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.1383, allocations: 350.8 kB / 0.5054 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1384, allocations: 108.9 kB / 0.5055 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.1385, allocations: 0 / 0.5055 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.1386, allocations: 11.98 kB / 0.5055 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.1387, allocations: 20.02 kB / 0.5055 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.1388, allocations: 11.98 kB / 0.5055 GB, free: 9.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002875/0.139, allocations: 253.9 kB / 0.5058 GB, free: 8.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1391, allocations: 0 / 0.5058 GB, free: 8.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.1394, allocations: 79.83 kB / 0.5058 GB, free: 8.746 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001008/0.1405, allocations: 0.9035 MB / 0.5067 GB, free: 7.816 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009011/0.1414, allocations: 299.9 kB / 0.507 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1414, allocations: 0 / 0.507 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006076/0.142, allocations: 191.8 kB / 0.5072 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.1424, allocations: 64.61 kB / 0.5072 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/0.1469, allocations: 3.4 MB / 0.5106 GB, free: 3.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.1474, allocations: 0.7987 MB / 0.5113 GB, free: 2.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.1476, allocations: 70.2 kB / 0.5114 GB, free: 2.859 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.1477, allocations: 75.41 kB / 0.5115 GB, free: 2.785 MB / 398.1 MB Notification: Performance of SimCode: time 7.12e-07/0.1477, allocations: 0 / 0.5115 GB, free: 2.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.1814, allocations: 8.551 MB / 0.5198 GB, free: 10.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.2, allocations: 8.938 kB / 0.5198 GB, free: 10.22 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_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/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches