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.001092/0.001092, allocations: 113.8 kB / 16.4 MB, free: 6.379 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.001149/0.001149, allocations: 191 kB / 17.33 MB, free: 5.844 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.291/1.291, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.191/0.191, allocations: 43.52 MB / 314.1 MB, free: 456 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.001485/0.001485, allocations: 71.91 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.09434, 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_KC): time 0.003286/0.09767, allocations: 1.994 MB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.09922, allocations: 0.8459 MB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.09936, allocations: 0 / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.09967, allocations: 67.59 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004005/0.1001, allocations: 119.4 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1004, allocations: 71.72 kB / 0.4904 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.1008, allocations: 314.6 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.1009, allocations: 44.34 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.1012, allocations: 119.4 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.1015, allocations: 151.3 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.1016, allocations: 8 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.1019, allocations: 131.8 kB / 0.4912 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.102, allocations: 63.69 kB / 0.4912 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.1022, allocations: 115.2 kB / 0.4913 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006395/0.1029, allocations: 350.4 kB / 0.4917 GB, free: 7.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1029, allocations: 0 / 0.4917 GB, free: 7.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.1029, allocations: 0 / 0.4917 GB, free: 7.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.1029, allocations: 0 / 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.001269/0.1042, allocations: 0.565 MB / 0.4922 GB, free: 7.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.735e-05/0.1043, allocations: 8.031 kB / 0.4922 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.1044, allocations: 74.66 kB / 0.4923 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.1045, allocations: 32.7 kB / 0.4923 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.1049, allocations: 248.3 kB / 0.4926 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.1049, allocations: 20.5 kB / 0.4926 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.105, allocations: 24 kB / 0.4926 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/0.1056, allocations: 397.2 kB / 0.493 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1056, allocations: 0 / 0.493 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.1057, allocations: 8 kB / 0.493 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/0.1057, allocations: 32.58 kB / 0.493 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000714/0.1064, allocations: 410.3 kB / 0.4934 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.1079, allocations: 0.8738 MB / 0.4943 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005489/0.1085, allocations: 274.3 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.1087, allocations: 96.77 kB / 0.4946 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.1087, allocations: 8.062 kB / 0.4946 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1088, allocations: 38.56 kB / 0.4947 GB, free: 4.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/0.1088, allocations: 3.938 kB / 0.4947 GB, free: 4.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007188/0.1095, allocations: 331.5 kB / 0.495 GB, free: 4.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.1096, allocations: 51.41 kB / 0.495 GB, free: 4.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.1099, allocations: 363.2 kB / 0.4954 GB, free: 3.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1099, allocations: 25.7 kB / 0.4954 GB, free: 3.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.11, allocations: 164.3 kB / 0.4956 GB, free: 3.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.1101, allocations: 51.52 kB / 0.4956 GB, free: 3.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.1102, allocations: 53.7 kB / 0.4957 GB, free: 3.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1103, allocations: 342.8 kB / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.1105, allocations: 83.91 kB / 0.4961 GB, free: 3.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.1107, allocations: 145.9 kB / 0.4962 GB, free: 2.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.1111, allocations: 253.4 kB / 0.4965 GB, free: 2.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1112, allocations: 0 / 0.4965 GB, free: 2.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005229/0.1117, allocations: 297.3 kB / 0.4967 GB, free: 2.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1117, allocations: 8.031 kB / 0.4968 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1117, allocations: 4 kB / 0.4968 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1117, allocations: 0 / 0.4968 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.1123, allocations: 123.8 kB / 0.4969 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.114, allocations: 3.665 MB / 0.5005 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.1142, allocations: 27.81 kB / 0.5005 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.1143, allocations: 19.92 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.0001743/0.1144, allocations: 173.6 kB / 0.5007 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.1145, allocations: 31.75 kB / 0.5007 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006261/0.1151, allocations: 339.2 kB / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1151, allocations: 0 / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1152, allocations: 0 / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1152, allocations: 0 / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.1155, allocations: 301.5 kB / 0.5013 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.1155, allocations: 3.938 kB / 0.5013 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004604/0.116, allocations: 111.9 kB / 0.5014 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.116, allocations: 7.984 kB / 0.5014 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.116, allocations: 4 kB / 0.5014 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.1177, allocations: 3.676 MB / 0.505 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1177, allocations: 4.031 kB / 0.505 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.1182, allocations: 351.1 kB / 0.5054 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-05/0.1183, allocations: 108.9 kB / 0.5055 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.1183, allocations: 3.938 kB / 0.5055 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.1185, allocations: 16.08 kB / 0.5055 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.1185, allocations: 11.98 kB / 0.5055 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1186, allocations: 11.98 kB / 0.5055 GB, free: 9.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002284/0.1188, allocations: 253.9 kB / 0.5057 GB, free: 8.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1188, allocations: 0 / 0.5057 GB, free: 8.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003439/0.1192, allocations: 75.83 kB / 0.5058 GB, free: 8.75 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.0008326/0.12, allocations: 0.9072 MB / 0.5067 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008289/0.1208, allocations: 307.6 kB / 0.507 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1209, allocations: 3.938 kB / 0.507 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005593/0.1214, allocations: 191.8 kB / 0.5072 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.1218, allocations: 53 kB / 0.5072 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.1257, allocations: 3.396 MB / 0.5105 GB, free: 3.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.126, allocations: 0.7987 MB / 0.5113 GB, free: 2.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.1262, allocations: 66.22 kB / 0.5114 GB, free: 2.867 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.1263, allocations: 75.41 kB / 0.5115 GB, free: 2.793 MB / 398.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1263, allocations: 0 / 0.5115 GB, free: 2.793 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.1531, allocations: 8.574 MB / 0.5198 GB, free: 10.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.19, allocations: 8.938 kB / 0.5198 GB, free: 10.21 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