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.001253/0.001253, allocations: 106 kB / 16.27 MB, free: 5.93 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.001374/0.001374, allocations: 187.9 kB / 17.2 MB, free: 5.574 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.427/1.427, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2186/0.2186, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 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.001567/0.001567, allocations: 73.98 kB / 382.9 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1054, allocations: 57.79 MB / 440.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003194/0.1086, allocations: 2.069 MB / 442.7 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1101, allocations: 1.301 MB / 444 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.1102, allocations: 0 / 444 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.1105, allocations: 71.58 kB / 444.1 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.1106, allocations: 79.45 kB / 444.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.1111, allocations: 195.2 kB / 444.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.1114, allocations: 426 kB / 444.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.919e-05/0.1115, allocations: 52.7 kB / 444.8 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.1116, allocations: 151.2 kB / 445 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.1118, allocations: 171.1 kB / 445.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.1118, allocations: 12 kB / 445.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003534/0.1122, allocations: 255.6 kB / 445.4 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.429e-05/0.1123, allocations: 91.55 kB / 445.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.1124, allocations: 162.9 kB / 445.6 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.1128, allocations: 0.5099 MB / 446.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1128, allocations: 0 / 446.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1128, allocations: 0 / 446.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.1128, allocations: 0 / 446.2 MB, free: 1.23 MB / 318.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.0008509/0.1137, allocations: 0.7213 MB / 446.9 MB, free: 472 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1137, allocations: 12.03 kB / 446.9 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.514e-05/0.1138, allocations: 78.72 kB / 447 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.142e-05/0.1139, allocations: 40.47 kB / 447 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.1141, allocations: 296.5 kB / 447.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.1142, allocations: 28.94 kB / 447.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.1142, allocations: 36 kB / 447.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008148/0.115, allocations: 0.5613 MB / 447.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1151, allocations: 0 / 447.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.1151, allocations: 12 kB / 447.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.1151, allocations: 17 kB / 447.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007801/0.1159, allocations: 407.6 kB / 448.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.1175, allocations: 1.277 MB / 449.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.118, allocations: 283.6 kB / 449.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.1184, allocations: 134.5 kB / 450 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.965e-05/0.1184, allocations: 15.98 kB / 450 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1184, allocations: 42.55 kB / 450.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.1185, allocations: 0 / 450.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001171/0.1196, allocations: 469 kB / 450.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.1197, allocations: 106.8 kB / 450.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.1202, allocations: 0.4939 MB / 451.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.1203, allocations: 25.7 kB / 451.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.1204, allocations: 200.2 kB / 451.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.1204, allocations: 63.09 kB / 451.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1206, allocations: 69.69 kB / 451.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1207, allocations: 354.8 kB / 451.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.121, allocations: 140 kB / 452 MB, free: 11.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.1214, allocations: 212 kB / 452.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/0.1221, allocations: 373.3 kB / 452.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1221, allocations: 0 / 452.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008234/0.1229, allocations: 413 kB / 452.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1229, allocations: 8 kB / 453 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.659e-05/0.123, allocations: 31.94 kB / 453 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.123, allocations: 7.938 kB / 453 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.1232, allocations: 39.89 kB / 453 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1232, allocations: 4 kB / 453 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.1235, allocations: 59.41 kB / 453.1 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/0.1235, allocations: 12 kB / 453.1 MB, free: 9.91 MB / 334.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.0001927/0.1237, allocations: 201.7 kB / 453.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/0.1239, allocations: 43.52 kB / 453.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007665/0.1246, allocations: 404.7 kB / 453.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.1246, allocations: 7.984 kB / 453.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1247, allocations: 0 / 453.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1247, allocations: 0 / 453.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/0.1252, allocations: 369.3 kB / 454.1 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.928e-05/0.1252, allocations: 31.98 kB / 454.1 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1254, allocations: 23.97 kB / 454.2 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1254, allocations: 3.938 kB / 454.2 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.1254, allocations: 12 kB / 454.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1254, allocations: 4 kB / 454.2 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1254, allocations: 0 / 454.2 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007943/0.1262, allocations: 0.5802 MB / 454.8 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.1263, allocations: 120.6 kB / 454.9 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.857e-05/0.1264, allocations: 4 kB / 454.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.1267, allocations: 19.97 kB / 454.9 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.1268, allocations: 19.98 kB / 454.9 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.1268, allocations: 8 kB / 454.9 MB, free: 7.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003825/0.1272, allocations: 363 kB / 455.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1272, allocations: 0 / 455.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005822/0.1278, allocations: 131.9 kB / 455.4 MB, free: 7.5 MB / 334.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.001537/0.1293, allocations: 1.194 MB / 456.6 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009306/0.1303, allocations: 0.5525 MB / 457.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1303, allocations: 0.6875 kB / 457.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.1308, allocations: 395.1 kB / 457.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006932/0.1315, allocations: 91.45 kB / 457.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005817/0.1373, allocations: 4.734 MB / 462.4 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.1377, allocations: 0.8535 MB / 463.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.1379, allocations: 67.23 kB / 463.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.1381, allocations: 111.4 kB / 463.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of SimCode: time 1.824e-06/0.1381, allocations: 0 / 463.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.1671, allocations: 11.75 MB / 475.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.056, allocations: 12.81 kB / 475.2 MB, free: 3.477 MB / 350.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