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.001119/0.001119, allocations: 105.6 kB / 16.27 MB, free: 6.41 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.001238/0.001239, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.477/1.477, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2187/0.2187, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001478/0.001478, allocations: 68.06 kB / 382.9 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1069, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.002716/0.1096, allocations: 1.998 MB / 442.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.1108, allocations: 0.8459 MB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1109, allocations: 4 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.1112, allocations: 63.66 kB / 443.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.1115, allocations: 119.4 kB / 443.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.1117, allocations: 59.8 kB / 443.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.112, allocations: 314.6 kB / 444 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.265e-05/0.112, allocations: 44.31 kB / 444.1 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.1122, allocations: 127.4 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.1124, allocations: 151.2 kB / 444.3 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.1124, allocations: 8 kB / 444.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.1126, allocations: 131.8 kB / 444.5 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.998e-05/0.1127, allocations: 67.67 kB / 444.6 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.975e-05/0.1128, allocations: 111.3 kB / 444.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.1131, allocations: 334.7 kB / 445 MB, free: 2.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1131, allocations: 4 kB / 445 MB, free: 2.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1131, allocations: 0 / 445 MB, free: 2.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.1132, allocations: 0 / 445 MB, free: 2.402 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0006176/0.1138, allocations: 0.5653 MB / 445.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.1138, allocations: 8.031 kB / 445.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.009e-05/0.1139, allocations: 70.7 kB / 445.6 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.1139, allocations: 32.56 kB / 445.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.1141, allocations: 244.2 kB / 445.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1141, allocations: 16.56 kB / 445.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.1142, allocations: 27.98 kB / 445.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.1146, allocations: 393.2 kB / 446.3 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.1147, allocations: 7.938 kB / 446.3 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.1147, allocations: 8 kB / 446.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/0.1147, allocations: 28.64 kB / 446.4 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005768/0.1153, allocations: 406.3 kB / 446.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.1164, allocations: 0.8772 MB / 447.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/0.1169, allocations: 266.3 kB / 447.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.1171, allocations: 96.77 kB / 448 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.1172, allocations: 12.06 kB / 448 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1172, allocations: 34.56 kB / 448 MB, free: 15.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.1172, allocations: 3.938 kB / 448.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006984/0.1179, allocations: 329.1 kB / 448.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.118, allocations: 55.41 kB / 448.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.1183, allocations: 347.3 kB / 448.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.1183, allocations: 29.7 kB / 448.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.493e-05/0.1184, allocations: 168.1 kB / 449 MB, free: 14.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.1185, allocations: 55.25 kB / 449 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.559e-05/0.1186, allocations: 45.7 kB / 449.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1187, allocations: 342.8 kB / 449.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.1189, allocations: 91.84 kB / 449.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.1191, allocations: 141.9 kB / 449.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.1196, allocations: 257 kB / 449.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1196, allocations: 0 / 449.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005365/0.1201, allocations: 289.1 kB / 450.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1202, allocations: 8 kB / 450.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.1202, allocations: 4.188 kB / 450.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1202, allocations: 7.938 kB / 450.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.1207, allocations: 119.8 kB / 450.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.1229, allocations: 3.668 MB / 454 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.1231, allocations: 27.69 kB / 454 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.1231, allocations: 15.98 kB / 454 MB, free: 8.973 MB / 334.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.0002023/0.1233, allocations: 182.8 kB / 454.2 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.1234, allocations: 35.56 kB / 454.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006938/0.1241, allocations: 327.3 kB / 454.5 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1241, allocations: 0 / 454.5 MB, free: 8.422 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1241, allocations: 4 kB / 454.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1241, allocations: 0 / 454.5 MB, free: 8.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.1245, allocations: 301.4 kB / 454.8 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.1245, allocations: 7.875 kB / 454.8 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/0.125, allocations: 111.9 kB / 455 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.125, allocations: 8 kB / 455 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.125, allocations: 4 kB / 455 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.127, allocations: 3.661 MB / 458.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.127, allocations: 0 / 458.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/0.1276, allocations: 362.8 kB / 459 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.843e-05/0.1277, allocations: 96.83 kB / 459.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.1277, allocations: 4 kB / 459.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.1279, allocations: 11.98 kB / 459.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.1279, allocations: 12.08 kB / 459.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.1279, allocations: 15.98 kB / 459.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.1282, allocations: 249.9 kB / 459.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1282, allocations: 0 / 459.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003594/0.1286, allocations: 80 kB / 459.4 MB, free: 3.301 MB / 334.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.0009752/0.1296, allocations: 0.9104 MB / 460.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009126/0.1305, allocations: 327.8 kB / 460.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1305, allocations: 0 / 460.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005653/0.1311, allocations: 187.7 kB / 460.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.1315, allocations: 79.62 kB / 460.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.1357, allocations: 3.402 MB / 464.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.136, allocations: 0.7948 MB / 465.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.1362, allocations: 70.2 kB / 465.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.1363, allocations: 90.31 kB / 465.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1363, allocations: 0 / 465.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.1625, allocations: 8.401 MB / 473.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.38, allocations: 20.77 kB / 473.7 MB, free: 4.918 MB / 350.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